On 25/12/12 04:19, Programmingkid wrote:
I tried the "info mtree" command and found out that the variable next_grab_slot's address is located in this section:
00000000fff00000-00000000ffffffff (prio 0, R-): ppc_heathrow.bios
next_grab_slots's address is 0xfffda060.
The "R-" seems to indicate that this section is read only explaining why the variable's value can't be changed. I am pretty sure static variables should not be kept in this region. How do we change where static and global variables are stored?
Have you tried changing the value directly with gdb?
ATB,
Mark.