From: Andrew Burgess Date: Thu, 20 Oct 2022 10:59:55 +0000 (+0100) Subject: gdb/infrun: add debug print in print_signal_received_reason X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb0797528bf532848ed96b439b363df543a15477;p=binutils-gdb.git 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. --- diff --git a/gdb/infrun.c b/gdb/infrun.c index 1a2ef2d078b..edfb5ab0a91 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 ())