* infrun.c (print_stop_reason): Add missing uiout field
authorKeith Seitz <keiths@redhat.com>
Wed, 11 Jul 2001 16:46:57 +0000 (16:46 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 11 Jul 2001 16:46:57 +0000 (16:46 +0000)
"reason" for SIGNAL_RECEIVED case.

gdb/ChangeLog
gdb/infrun.c

index 5254994c2e5ecf7f159fe13e9c42bb42ed8fa1e3..223682672e008bba9b3604c2bb30e1b9574c7999 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-11  Keith Seitz  <keiths@redhat.com>
+
+       * infrun.c (print_stop_reason): Add missing uiout field
+       "reason" for SIGNAL_RECEIVED case.
+
 2001-07-11  Mark Kettenis  <kettenis@gnu.org>
 
        * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
index 8b126db6523a0718c403325be55a6b060814a23c..f424477dda5f0848d90917ce0db8ae7a97e3f54e 100644 (file)
@@ -3382,6 +3382,8 @@ print_stop_reason (enum inferior_stop_reason stop_reason, int stop_info)
       annotate_signal ();
       ui_out_text (uiout, "\nProgram received signal ");
       annotate_signal_name ();
+      if (ui_out_is_mi_like_p (uiout))
+       ui_out_field_string (uiout, "reason", "signal-received");
       ui_out_field_string (uiout, "signal-name", target_signal_to_name (stop_info));
       annotate_signal_name_end ();
       ui_out_text (uiout, ", ");
This page took 0.056356 seconds and 4 git commands to generate.