From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stuart Yoder Date: Tue, 25 May 2004 13:27:56 -0500 Subject: [U-Boot-Users] debugging relocated code Message-ID: <001601c44286$0328e880$2900a8c0@foundation> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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