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/doc: fix inconsistent info pretty-printer example Date: Thu, 19 May 2022 14:22:22 +0000 (GMT) [thread overview] Message-ID: <20220519142222.25D183839C4D@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8ea87c7296fce00d0223f504f0a24ac701347f23 commit 8ea87c7296fce00d0223f504f0a24ac701347f23 Author: Nikolaos Chatzikonstantinou <nchatz314@gmail.com> Date: Thu May 19 15:06:53 2022 +0100 gdb/doc: fix inconsistent info pretty-printer example The example for 'info pretty-printer' in the manual passes an object-regexp in some cases, but presents output as though no object-regexp was passed. This commit fixes the two mistakes, in one case, fixing the output to filter based on object-regexp, and in the other, to remove the object-regexp from the command and leave all the output. Diff: --- gdb/doc/gdb.texinfo | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 8cf97866ccc..68f7aba8d7d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -12101,8 +12101,6 @@ library2.so: 1 printer disabled 1 of 3 printers enabled (gdb) info pretty-printer library2 -library1.so: - foo [disabled] library2.so: bar bar1 [disabled] @@ -12110,7 +12108,7 @@ library2.so: (gdb) disable pretty-printer library2 bar 1 printer disabled 0 of 3 printers enabled -(gdb) info pretty-printer library2 +(gdb) info pretty-printer library1.so: foo [disabled] library2.so:
reply other threads:[~2022-05-19 14:22 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=20220519142222.25D183839C4D@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).