All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stuart Yoder <stuart.yoder@conformative.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] debugging relocated code
Date: Tue, 25 May 2004 13:27:56 -0500	[thread overview]
Message-ID: <001601c44286$0328e880$2900a8c0@foundation> (raw)

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 

             reply	other threads:[~2004-05-25 18:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 18:27 Stuart Yoder [this message]
2004-05-25 18:49 ` [U-Boot-Users] debugging relocated code Ho Lee
2004-05-25 19:26 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-05-25 18:58 Kerl, John
2004-05-25 19:29 ` Wolfgang Denk
2004-05-25 19:35 Kerl, John
2004-05-25 21:47 ` Wolfgang Denk
2004-05-25 19:48 Woodruff, Richard
2004-05-25 19:55 Kerl, John
2004-05-25 20:08 Kerl, John
2004-05-25 21:54 ` Wolfgang Denk
2004-05-25 20:23 Rune Torgersen
2004-05-25 20:27 Kerl, John
2004-05-25 22:52 Alan J. Luse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001601c44286$0328e880$2900a8c0@foundation' \
    --to=stuart.yoder@conformative.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.