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: SIGILL on gdbserver/ARM/uclibc


On Mon, Jan 07, 2008 at 11:30:42AM +0100, Harald Schiöberg wrote:
> I'm getting SIGILL after a breakpoint on the target.

Figure out what instruction GDB is inserting, by using "set debug
remote 1" and watching the memory writes.  Try running that
instruction using asm("") on your target.  If it doesn't generate a
SIGTRAP, then either GDB is confused and using the wrong instruction,
or your kernel is confused and generating the wrong signal.

> (gdb)  target remote 172.17.2.190:4000
> Remote debugging using 172.17.2.190:4000
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.

See "set sysroot".


-- 
Daniel Jacobowitz
CodeSourcery


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