* corelow.c (core_open): Print GDB signal name instead of target

signal number.
This commit is contained in:
Pierre Muller 2013-06-17 06:14:24 +00:00
parent b6857b1e6c
commit 2d50327282
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-06-17 Pierre Muller <muller@sourceware.org>
* corelow.c (core_open): Print GDB signal name instead of target
signal number.
2013-06-17 Mike Frysinger <vapier@gentoo.org>
* .gitignore: Add /gcore.

View File

@ -444,8 +444,8 @@ core_open (char *filename, int from_tty)
siggy)
: gdb_signal_from_host (siggy));
printf_filtered (_("Program terminated with signal %d, %s.\n"),
siggy, gdb_signal_to_string (sig));
printf_filtered (_("Program terminated with signal %s, %s.\n"),
gdb_signal_to_name (sig), gdb_signal_to_string (sig));
}
/* Fetch all registers from core file. */