Using cross compiled GDB under Emacs
Dmytro Bablinyuk
dmytro.bablinyuk@rftechnology.com.au
Thu Oct 6 02:14:00 GMT 2005
> Does anybody know how to 'attach' emacs to gdb?
> The program was compiled with these options
> -ggdb -Os -fPIC -ffixed-r14 -meabi -D__KERNEL__
> -DTEXT_BASE=0xFFF00000 -fno-builtin -ffreestanding -nostdinc -isystem
> -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_8260 -DCONFIG_CPM2 -ffixed-r2
> -ffixed-r29 -mstring -mcpu=603e -mmultiple -Wall -Wstrict-prototypes
Also the problem is with 's' and 'n' commands.
If I type
(gdb) s
it will never stop and will simply keep going until I reset JTAG.
(gdb) s
Program received signal 0, Signal 0.
<signal handler called>
(gdb) info line *(0x03fcbae8)
Line 626 of "board.c" starts at address 0x3fcbae0 <board_init_r+184> and
ends at 0x3fcbaec <board_init_r+196>.
(gdb)
The GDB version 6.3
I would be very grateful for advice
Thank you
More information about the Gdb
mailing list