diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-05-10 15:15:44 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-10-10 12:16:18 +0100 |
commit | adaef6569562ec0c3feb6144d0a420149906bf01 (patch) | |
tree | 5d583c552d0877f7c03a9f432e5ea37d070ba2e1 /gdb/infrun.h | |
parent | f54c53e9f4e01ba19a2b3a664fee42798b60e38a (diff) | |
download | gdb-adaef6569562ec0c3feb6144d0a420149906bf01.zip gdb-adaef6569562ec0c3feb6144d0a420149906bf01.tar.gz gdb-adaef6569562ec0c3feb6144d0a420149906bf01.tar.bz2 |
gdb: improve infrun_debug_show_threads output
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.
Diffstat (limited to 'gdb/infrun.h')
-rw-r--r-- | gdb/infrun.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/infrun.h b/gdb/infrun.h index d1209a9..c711b9b 100644 --- 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, " |