[U-Boot-Users] Using ELF File in gdb

Knowledge Seeker talibalm at hotmail.com
Fri Jul 16 18:53:04 CEST 2004


Regarding my problem of gdb not finding certain source file (debugging
u-boot remotely) which I posted few days ago. You suggested to use ELF
binary in ddd (ppc_8xx-gdb).

what would be the sequence of steps.

I try following

GNU DDD 3.3.1 (i686-pc-linux-gnu), by Dorothea L(gdb) file
(gdb) Function "" not defined.
(gdb) target remote bdi:2001
0xfff00100 in ?? ()
(gdb) set $pc = 0x02000100
(gdb)  break start.S:574
Breakpoint 1 at 0x2002324: file
/sw/bootcode/u-boot-1.1.1/cpu/mpc8xx/start.S, line 574.
(gdb) break fec.c:212
Breakpoint 2 at 0x2017640: file fec.c, line 212.
(gdb) stepi
(gdb) cont

It still has problem finding fec.c, serial.c files.

More information about the U-Boot mailing list