Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Debugging Examine Memory window
tiwag:
the address displayed in the Memory window shows a wrong address.
The addresses are shown with an additional offset of 0x08
e.g. type in the Address edit field 0x43e000 and press Go button,
then the memory dump beginning at 0x43e000 is shown, but the
address of the first line is shown as 0x43e008: .. .. ..
the same happens if you enter a symbol name in the Address edit field,
the memory dump begins from the correct address, but the addresses
itself are offsetted by 8
i use gdb 6.3-2 and gcc 3.4.4 and CB svn rev 2397
tiwag:
the debug output for symbol s2 from gdb communication is:
--- Code: ---> x/32xb s2
0x22fe70: 0x33 0x32 0x31 0x00 0x00 0x00 0x00 0x00
0x22fe78: 0xff 0xff 0xff 0xff 0x90 0x24 0x4e 0x80
0x22fe80: 0x98 0x9a 0x4e 0x80 0xff 0xff 0xff 0xff
0x22fe88: 0x09 0x7a 0x57 0x80 0xec 0xe7 0x4d 0x80
--- End code ---
symbol s2 is at address 0x22fe70
the memory window shows:
--- Code: ---0x22fe78: 33 32 31 00 00 00 00 00 ff ff ff ff 90 24 4e 80 321.....ÿÿÿÿ$N
0x22fe88: 98 9a 4e 80 ff ff ff ff 09 7a 57 80 ec e7 4d 80 Nÿÿÿÿ.zWìçM
--- End code ---
mandrav:
Yes, I 'm aware of this but too lazy to fix this :P.
I promise I will :)
tiwag:
it's better you fix this, i had a look at
void ExamineMemoryDlg::AddHexByte(const wxString& addr, const wxString& hexbyte)
but i don't want to change something there ... :shock:
tiwag:
posted a bug report to berlios so that it doesn't get lost in mind ...
Navigation
[0] Message Index
[#] Next page
Go to full version