This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: SIGILL on gdbserver/ARM/uclibc
- From: Daniel Jacobowitz <drow at false dot org>
- To: Harald Schiöberg <harald at net dot t-labs dot tu-berlin dot de>
- Cc: gdb at sourceware dot org
- Date: Mon, 7 Jan 2008 08:15:04 -0500
- Subject: Re: SIGILL on gdbserver/ARM/uclibc
- References: <4781FF52.8080905@net.t-labs.tu-berlin.de>
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