aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-10-20 11:59:55 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-01-13 16:36:17 +0000
commitbb0797528bf532848ed96b439b363df543a15477 (patch)
tree2169ae189e3616bf42db017556823207f812a119 /gdb
parent8dd08de7e48850496321548099ef86d3275679b9 (diff)
downloadfsf-binutils-gdb-bb0797528bf532848ed96b439b363df543a15477.zip
fsf-binutils-gdb-bb0797528bf532848ed96b439b363df543a15477.tar.gz
fsf-binutils-gdb-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')
-rw-r--r--gdb/infrun.c2
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 ())