public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
To: Andrew Burgess <aburgess@redhat.com>
Cc: Nikolaos Chatzikonstantinou via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Fix inconsistent input/output of example
Date: Thu, 19 May 2022 06:14:11 +0900	[thread overview]
Message-ID: <CAAQmekeQ=8B1gFDSHMyzjcm6moYuqbdLn+qJ03OX8-mZZARXew@mail.gmail.com> (raw)
In-Reply-To: <87y1yyj1sl.fsf@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]

On Thu, May 19, 2022 at 12:30 AM Andrew Burgess <aburgess@redhat.com> wrote:
> This change looks correct to me, however, the same mistake is repeated a
> few lines earlier in the example, it would be good to fix them both at
> the same time I think.

I'm attaching a patch that fixes both.

[-- Attachment #2: 0001-Fix-inconsistent-input-output-of-example.patch --]
[-- Type: text/x-patch, Size: 921 bytes --]

From 26a91b493e383d7c6405fefe58b15a37c497f10b Mon Sep 17 00:00:00 2001
From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
Date: Wed, 18 May 2022 22:28:02 +0900
Subject: [PATCH] Fix inconsistent input/output of example
To: gdb-patches@sourceware.org

---
 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 9df109ba330..8b82a65beeb 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:
-- 
2.35.1


  reply	other threads:[~2022-05-18 21:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 13:35 Nikolaos Chatzikonstantinou
2022-05-18 15:30 ` Andrew Burgess
2022-05-18 21:14   ` Nikolaos Chatzikonstantinou [this message]
2022-05-19 14:24     ` [PUSHED 0/3] " Andrew Burgess
2022-05-19 14:24       ` [PUSHED 1/3] gdb/doc: fix inconsistent info pretty-printer example Andrew Burgess
2022-05-19 14:24       ` [PUSHED 2/3] gdb/doc: make use of group/end group in 'info pretty-printers' example Andrew Burgess
2022-05-19 14:24       ` [PUSHED 3/3] gdb/doc: use @value{GDBP} in 'info pretty-printer' example Andrew Burgess
2022-05-19 15:54       ` [PUSHED 0/3] Re: [PATCH] Fix inconsistent input/output of example Eli Zaretskii

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='CAAQmekeQ=8B1gFDSHMyzjcm6moYuqbdLn+qJ03OX8-mZZARXew@mail.gmail.com' \
    --to=nchatz314@gmail.com \
    --cc=aburgess@redhat.com \
    --cc=gdb-patches@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: link
Be 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).