From: Pierre Muller Date: Mon, 17 Jun 2013 06:14:24 +0000 (+0000) Subject: * corelow.c (core_open): Print GDB signal name instead of target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d50327282ef514c1c855c2ad942336ddafe1d77;p=binutils-gdb.git * corelow.c (core_open): Print GDB signal name instead of target signal number. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c4a98dab34e..8a291ac4fa1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-06-17 Pierre Muller + + * corelow.c (core_open): Print GDB signal name instead of target + signal number. + 2013-06-17 Mike Frysinger * .gitignore: Add /gcore. diff --git a/gdb/corelow.c b/gdb/corelow.c index 0bfa7431d74..0aa5d971633 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -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. */