mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
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.
This commit is contained in:
@@ -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, "
|
||||
|
||||
Reference in New Issue
Block a user