public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: improve infrun_debug_show_threads output Date: Mon, 10 Oct 2022 11:19:20 +0000 (GMT) [thread overview] Message-ID: <20221010111920.91417385696D@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=adaef6569562ec0c3feb6144d0a420149906bf01 commit adaef6569562ec0c3feb6144d0a420149906bf01 Author: Andrew Burgess <aburgess@redhat.com> Date: Tue May 10 15:15:44 2022 +0100 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: --- gdb/infrun.h | 2 ++ 1 file changed, 2 insertions(+) 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, "
reply other threads:[~2022-10-10 11:19 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221010111920.91417385696D@sourceware.org \ --to=aburgess@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).