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:
f54c53e
)
gdb: improve infrun_debug_show_threads output
author
Andrew Burgess
<aburgess@redhat.com>
Tue, 10 May 2022 14:15:44 +0000
(15:15 +0100)
committer
Andrew Burgess
<aburgess@redhat.com>
Mon, 10 Oct 2022 11:16:18 +0000
(12:16 +0100)
This commit switches to use INFRUN_SCOPED_DEBUG_START_END in the
infrun_debug_show_threads function, which means the output will get an
extra level of indentation, this looks a little nicer I think.
gdb/infrun.h
patch
|
blob
|
history
diff --git
a/gdb/infrun.h
b/gdb/infrun.h
index d1209a94a22a0c9f620bc6055f25f04a36a1034c..c711b9b21ccca9d54febbae6c102955b6372152e 100644
(file)
--- a/
gdb/infrun.h
+++ b/
gdb/infrun.h
@@
-62,6
+62,8
@@
infrun_debug_show_threads (const char *title, ThreadRange threads)
{
if (debug_infrun)
{
+ INFRUN_SCOPED_DEBUG_ENTER_EXIT;
+
infrun_debug_printf ("%s:", title);
for (thread_info *thread : threads)
infrun_debug_printf (" thread %s, executing = %d, resumed = %d, "