diff options
author | Keith Seitz <keiths@redhat.com> | 2001-07-11 16:46:57 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2001-07-11 16:46:57 +0000 |
commit | 84c6c83cbc7569a373a6bb7d4ed588ef06aaf9a3 (patch) | |
tree | 6bc4ff913ac1d180c16188d3e2274a92f707b4d2 /gdb/infrun.c | |
parent | 7333607edefaef9eb0e5f3de1f14574851f6d734 (diff) | |
download | gdb-84c6c83cbc7569a373a6bb7d4ed588ef06aaf9a3.zip gdb-84c6c83cbc7569a373a6bb7d4ed588ef06aaf9a3.tar.gz gdb-84c6c83cbc7569a373a6bb7d4ed588ef06aaf9a3.tar.bz2 |
* infrun.c (print_stop_reason): Add missing uiout field
"reason" for SIGNAL_RECEIVED case.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 8b126db..f424477 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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, ", "); |