]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
README.arm-relocation: get relocated address in gdb
authorBen Gardiner <bengardiner@nanometrics.ca>
Thu, 28 Apr 2011 11:03:21 +0000 (11:03 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 21:34:02 +0000 (23:34 +0200)
commit7124015adad59dea5e72103f63531f3367c6df80
treec0e88980d6512a06d82f17c9eb8111cbdcffc3de
parentf4379ceff0876f9e4c7c90796d64b6dd5351512a
README.arm-relocation: get relocated address in gdb

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>
Acked-by: Heiko Schocher <hs@denx.de>
doc/README.arm-relocation