diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-10-20 11:59:55 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-01-13 16:36:17 +0000 |
commit | bb0797528bf532848ed96b439b363df543a15477 (patch) | |
tree | 2169ae189e3616bf42db017556823207f812a119 /gdb/infrun.c | |
parent | 8dd08de7e48850496321548099ef86d3275679b9 (diff) | |
download | binutils-bb0797528bf532848ed96b439b363df543a15477.zip binutils-bb0797528bf532848ed96b439b363df543a15477.tar.gz binutils-bb0797528bf532848ed96b439b363df543a15477.tar.bz2 |
gdb/infrun: add debug print in print_signal_received_reason
It would have helped me to see an infrun debug line being printed from
print_signal_received_reason, so I'm adding one.
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 1a2ef2d..edfb5ab 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -8358,6 +8358,8 @@ print_signal_received_reason (struct ui_out *uiout, enum gdb_signal siggnal) { struct thread_info *thr = inferior_thread (); + infrun_debug_printf ("signal = %s", gdb_signal_to_string (siggnal)); + annotate_signal (); if (uiout->is_mi_like_p ()) |