From: Andrew Burgess Date: Tue, 10 May 2022 14:15:44 +0000 (+0100) Subject: gdb: improve infrun_debug_show_threads output X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=adaef6569562ec0c3feb6144d0a420149906bf01;p=binutils-gdb.git 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. --- diff --git a/gdb/infrun.h b/gdb/infrun.h index d1209a94a22..c711b9b21cc 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, "