public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/2] README.arm-relocation: get relocated address in gdb
Date: Fri, 29 Apr 2011 07:36:02 +0200	[thread overview]
Message-ID: <4DBA4E42.40304@denx.de> (raw)
In-Reply-To: <7ed11e02b0db005231f5c6baa299761f3aa04f6f.1304024417.git.bengardiner@nanometrics.ca>

Hello Ben,

Ben Gardiner 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(-)

Thanks!

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2011-04-29  5:36 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 [this message]
2011-05-12 21:34   ` Wolfgang Denk

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=4DBA4E42.40304@denx.de \
    --to=hs@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