projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd08de
)
gdb/infrun: add debug print in print_signal_received_reason
author
Andrew Burgess
<aburgess@redhat.com>
Thu, 20 Oct 2022 10:59:55 +0000
(11:59 +0100)
committer
Andrew Burgess
<aburgess@redhat.com>
Fri, 13 Jan 2023 16:36:17 +0000
(16:36 +0000)
It would have helped me to see an infrun debug line being printed from
print_signal_received_reason, so I'm adding one.
gdb/infrun.c
patch
|
blob
|
history
diff --git
a/gdb/infrun.c
b/gdb/infrun.c
index 1a2ef2d078b5a837539f3701d9af1a704c376e3f..edfb5ab0a91f47b1e4f86814f22eae1abbdc8a1a 100644
(file)
--- 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 ())