From: Daniel Jacobowitz <drow@false.org>
To: Julian Smith <jsmith@undo-software.com>
Cc: gdb@sources.redhat.com
Subject: Re: gdb displaying incorrect signal names with remote target ?
Date: Wed, 14 Oct 2009 21:01:00 -0000 [thread overview]
Message-ID: <20091014210112.GA14786@caradoc.them.org> (raw)
In-Reply-To: <20091014214827.7259ea9e.jsmith@undo-software.com>
On Wed, Oct 14, 2009 at 09:48:27PM +0100, Julian Smith wrote:
> The inferior is receiving SIGUSR1 (signal number 10 on my i386 Linux
> system), thus the remote target sends a packet `S0a' to gdb.
That's your mistake right there :-)
From the manual:
The `C', `c', `S', `s', `vCont', `vAttach', `vRun', `vStopped', and `?'
packets can receive any of the below as a reply. Except for `?' and
`vStopped', that reply is only returned when the target halts. In the
below the exact meaning of "signal number" is defined by the header
`include/gdb/signals.h' in the GDB source code.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2009-10-14 21:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 20:54 Julian Smith
2009-10-14 21:01 ` Daniel Jacobowitz [this message]
2009-10-14 21:37 ` Pedro Alves
2009-10-14 21:05 ` Pedro Alves
2009-10-15 6:24 ` Julian Smith
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=20091014210112.GA14786@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=jsmith@undo-software.com \
/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