[U-Boot-Users] Debugging U-Boot Under DDD

Wolfgang Denk wd at denx.de
Mon Jul 12 21:59:33 CEST 2004


In message <20040712194303.3117.qmail at web50504.mail.yahoo.com> you wrote:
> 
> At this point if I "Cont", I get pop-up from ddd
> /.../u-boot-1.1.1/serial.c: No such file or directory.

Sounds like a toolchain or user problem to me.

> Just before relocating the code, I typed following statements
> 
> (gdb) symbol-file
> (gdb) add-symbol-file u-boot 0xbda000

How did you start gdb / DDD? Did you really load "u-boot" (i. e.  the
ELF file)?

> (gdb) dir cpu/mpc8xx
> (gdb) dir board/fads
> (gdb) dir tools/gdb/serial.c
> (gdb) dir drivers/serial.c

None of these should be necessary. Which toolchain are you using?


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
Old programmers never die, they just become managers.




More information about the U-Boot mailing list