[U-Boot-Users] debugging relocated code

Stuart Yoder stuart.yoder at conformative.com
Tue May 25 20:27:56 CEST 2004


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040525/134811b6/attachment.htm 


More information about the U-Boot mailing list