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


On Thu, Oct 06, 2005 at 12:14:55PM +1000, Dmytro Bablinyuk wrote:
> 
> >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>

This looks like your remote debugging stub/setup is just broken.  GDB
should not be detecting either signal 0, or signal handlers.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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