[U-Boot] [PATCH v3 2/2] README.arm-relocation: get relocated address in gdb

Heiko Schocher
2011-04-29T05:36:02Z

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