
25 May
2004
25 May
'04
8:27 p.m.
What is typically done to debug relocated code with gdb? For example, u-boot is linked at 0xFFF0000, but then relocates itself to 0x0FF03000. The debug symbols all reference the linked location. After the relocation occurs gdb is lost as far as symbolic information goes.
Am I supposed to link the code to the place I know it will end up after relocation?
Anyone know of a way in gdb to relocate all the symbols?
Thanks,
Stuart Yoder