[PATCH] sim: nrun: decode signal when crashing
Frank Ch. Eigler
fche@redhat.com
Tue Nov 16 16:10:00 GMT 2010
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
More information about the Gdb-patches
mailing list