public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix inconsistent input/output of example
@ 2022-05-18 13:35 Nikolaos Chatzikonstantinou
  2022-05-18 15:30 ` Andrew Burgess
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolaos Chatzikonstantinou @ 2022-05-18 13:35 UTC (permalink / raw)
  To: Nikolaos Chatzikonstantinou via Gdb-patches

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

I corrected an example in 10.10.3 of the info page.
I am not certain of it; please double-check.
See attached patch.

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

From 032dca4a43aa61c89208c2ffd978ef1dd121898d 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

The shown output corresponds to an 'info pretty-printer' without an
object-regexp, however the input was a 'library2' regexp.
---
 gdb/doc/gdb.texinfo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9df109ba330..7d2555455d0 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -12110,7 +12110,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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-05-19 15:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 13:35 [PATCH] Fix inconsistent input/output of example Nikolaos Chatzikonstantinou
2022-05-18 15:30 ` Andrew Burgess
2022-05-18 21:14   ` Nikolaos Chatzikonstantinou
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

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).