GDB & DDD - change a base of data.
Posted: Sun Apr 06, 2014 1:49 pm
Hi everyone
Now I'm trying use GDB with Bochs,and i have a question, how change base address of data in GDB.
In example:
System is in protected mode, base of data segment is 0x500, and I set variable x=100.
Now I examine x in GDB, and he display another value.
How to get him to show the correct value of x?
Now I'm trying use GDB with Bochs,and i have a question, how change base address of data in GDB.
In example:
System is in protected mode, base of data segment is 0x500, and I set variable x=100.
Now I examine x in GDB, and he display another value.
How to get him to show the correct value of x?