<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=028192318-25052004><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial size=2>Am I supposed to 
link the code to the place I know it will end up after 
relocation?</FONT></SPAN></DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial size=2>Anyone know of a way 
in gdb to relocate all the symbols?</FONT></SPAN></DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=028192318-25052004><FONT face=Arial size=2>Stuart 
Yoder</FONT></SPAN></DIV></BODY></HTML>