[U-Boot-Users] u-boot debugging boot with gdb and bdi2000 in lubbock(PXA255) board

Wolfgang Denk wd at denx.de
Thu Sep 4 16:10:12 CEST 2003

In message <E19utSW-0000xx-00 at hall.mail.mindspring.net> you wrote:
> I usually set TEXT_BASE=0 in board/lubbock/config.mk for debugging before 
> start_armboot. No need to reflash. You should be able to reload symbols in 
> gdb at offset 0, but for some reason I've never been able to get this to 
> work correctly. So linking at 0 sets symbols for gdb correctly. Then you can 
> use gdb in a normal manner.

No need to recompile / relink. GDB will do  the  same  when  you  use
"symbol-file"  to delte the current ymbol table and "add-symbol-file"
to load the symbol file to the wanted target address (0x0).

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Emotions are alien to me.  I'm a scientist.
	-- Spock, "This Side of Paradise", stardate 3417.3

More information about the U-Boot mailing list