From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/2] README.arm-relocation: get relocated address in gdb
Date: Thu, 12 May 2011 23:34:48 +0200 [thread overview]
Message-ID: <20110512213448.3CECAD6F24F@gemini.denx.de> (raw)
In-Reply-To: <7ed11e02b0db005231f5c6baa299761f3aa04f6f.1304024417.git.bengardiner@nanometrics.ca>
Dear Ben Gardiner,
In message <7ed11e02b0db005231f5c6baa299761f3aa04f6f.1304024417.git.bengardiner@nanometrics.ca> you wrote:
> When your emulator is connected at reset (or is used to load u-boot)
> it is possible to get the relocation address from the gd->relocaddr
> since gd is always in r8 (on ARM) it is addressable before the
> gdb has remapped symbols.
>
> Document this alternate method in-line with the original method
> written by Heiko Schocher.
>
> Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
> CC: Heiko Schocher <hs@denx.de>
> CC: Wolfgang Denk <wd@denx.de>
>
> ---
> Changes since V2:
> * add gd->relocaddr as a secondary method of obtaining the symbol-file
> gdb argument
> Changes since V1:
> * update to reflect proposed changes to existing debug instructions:
> renumber steps, remove note about -DDEBUG
> ---
> doc/README.arm-relocation | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Military secrets are the most fleeting of all.
-- Spock, "The Enterprise Incident", stardate 5027.4
prev parent reply other threads:[~2011-05-12 21:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 21:03 [U-Boot] [PATCH v3 0/2] README.arm-relocation: debugging options update Ben Gardiner
2011-04-28 21:03 ` [U-Boot] [PATCH v3 1/2] README.arm-relocation: get relocated address from bdinfo Ben Gardiner
2011-04-29 5:39 ` Heiko Schocher
2011-05-12 21:34 ` Wolfgang Denk
2011-04-28 21:03 ` [U-Boot] [PATCH v3 2/2] README.arm-relocation: get relocated address in gdb Ben Gardiner
2011-04-29 5:36 ` Heiko Schocher
2011-05-12 21:34 ` Wolfgang Denk [this message]
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=20110512213448.3CECAD6F24F@gemini.denx.de \
--to=wd@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox