This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using cross compiled GDB under Emacs



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]