* corelow.c (core_open): Print GDB signal name instead of target
authorPierre Muller <muller@sourceware.org>
Mon, 17 Jun 2013 06:14:24 +0000 (06:14 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 17 Jun 2013 06:14:24 +0000 (06:14 +0000)
signal number.

gdb/ChangeLog
gdb/corelow.c

index c4a98dab34ea945253982793f03157f1de858250..8a291ac4fa1c880ac7c08fd8209376d40cd36e47 100644 (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.
index 0bfa7431d74e91a3b51318a6bfc30983144d097c..0aa5d971633e52b4d9783a483b4542c51a02794b 100644 (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.  */
This page took 0.059367 seconds and 4 git commands to generate.