This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Using cross compiled GDB under Emacs
- From: Dmytro Bablinyuk <dmytro dot bablinyuk at rftechnology dot com dot au>
- To: gdb at sources dot redhat dot com
- Date: Thu, 06 Oct 2005 12:14:55 +1000
- Subject: Re: Using cross compiled GDB under Emacs
- References: <43448083.9020906@rftechnology.com.au>
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