tis 2012-11-27 klockan 16:22 -0600 skrev Scott Wood: > How am I going to script gdb to figure out the relocation address when > I'm just running it on the image to get symbols, not actually > connecting to the target?
It can be calculated from ram size and size of your u-boot binary including bss (reported by size on the elf binary). If you have u-boot running then bdinfo shows the address. Hm.. wasn't there talk about a non-relocating u-boot binary for debugging? Isn't that more appropriate for what you are trying to accomplish? > Where would you get the symbol table to load that matches U-Boot > post-relocation? GDB supports symbol table relocation using add-symbol-file command. Regards Henrik _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot