This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: nrun: decode signal when crashing
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 16 Nov 2010 11:10:43 -0500
- Subject: Re: [PATCH] sim: nrun: decode signal when crashing
- References: <1289875764-16066-1-git-send-email-vapier@gentoo.org>
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