public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: "Harald Schiöberg" <harald@net.t-labs.tu-berlin.de>
Cc: gdb@sourceware.org
Subject: Re: SIGILL on gdbserver/ARM/uclibc
Date: Mon, 07 Jan 2008 13:15:00 -0000	[thread overview]
Message-ID: <20080107131504.GA31561@caradoc.them.org> (raw)
In-Reply-To: <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

  reply	other threads:[~2008-01-07 13:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 10:31 Harald Schiöberg
2008-01-07 13:15 ` Daniel Jacobowitz [this message]
2008-01-07 13:49   ` Harald Schiöberg
2008-01-07 15:20     ` Daniel Jacobowitz
2008-01-07 17:32       ` Harald Schiöberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080107131504.GA31561@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=harald@net.t-labs.tu-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).