X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2FREADME.arm-relocation;h=5a9a2fb07105b5aefe3a4cda44082a894950569c;hb=bf36c5d521c17460553e39d82232a51273b83aed;hp=8bfb50033d21c7b3f7b0ea784649b104c8859cf1;hpb=f4379ceff0876f9e4c7c90796d64b6dd5351512a;p=u-boot diff --git a/doc/README.arm-relocation b/doc/README.arm-relocation index 8bfb50033d..5a9a2fb071 100644 --- a/doc/README.arm-relocation +++ b/doc/README.arm-relocation @@ -164,6 +164,7 @@ Program received signal SIGSTOP, Stopped (signal). add-symbol-file u-boot 0x8ff08000 ^^^^^^^^^^ get this address from u-boot bdinfo command + or get it from gd->relocaddr in gdb => bdinfo rch_number = XXXXXXXXXX @@ -176,10 +177,17 @@ ip_addr = XXXXXXXXXX baudrate = XXXXXXXXXX TLB addr = XXXXXXXXXX relocaddr = 0x8ff08000 - ^^^^^^^^^^ + ^^^^^^^^^^ reloc off = XXXXXXXXXX -irq_sp = XXXXXXXXXX +irq_sp = XXXXXXXXXX sp start = XXXXXXXXXX FB base = XXXXXXXXXX +or interrupt execution by any means and re-load the symbols at the location +specified by gd->relocaddr -- this is only valid after board_init_f. + +(gdb) set $s = gd->relocaddr +(gdb) symbol-file +(gdb) add-symbol-file u-boot $s + Now you can use gdb as usual :-)