public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] sim: nrun: decode signal when crashing
Date: Tue, 16 Nov 2010 16:10:00 -0000	[thread overview]
Message-ID: <y0m62vxw8os.fsf@fche.csb> (raw)
In-Reply-To: <1289875764-16066-1-git-send-email-vapier@gentoo.org> (Mike Frysinger's message of "Mon, 15 Nov 2010 21:49:24 -0500")


vapier wrote:

> [...]
>        if (sigrc != 0)
> -        fprintf (stderr, "program stopped with signal %d.\n", sigrc);
> +	fprintf (stderr, "program stopped with signal %d (%s).\n", sigrc,
> +		 strsignal (sigrc));
>        break;

I don't know if we can assume that the target signal numbering matches
the host.  Else I suspect we wouldn't have all those TARGET_SIGNAL_*
defs.


- FChE

  reply	other threads:[~2010-11-16 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16  2:50 Mike Frysinger
2010-11-16 16:10 ` Frank Ch. Eigler [this message]
2010-11-16 19:06   ` Mike Frysinger
2010-12-28  4:43   ` Mike Frysinger
2012-03-19  3:59     ` Mike Frysinger

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=y0m62vxw8os.fsf@fche.csb \
    --to=fche@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vapier@gentoo.org \
    /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).