This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix typo in pretty-printer example
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 10 Sep 2018 13:49:23 -0000
- Subject: [binutils-gdb] Fix typo in pretty-printer example
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=088a96da059ce14fe1dff369873b1dcf7151e29a
commit 088a96da059ce14fe1dff369873b1dcf7151e29a
Author: Tom Tromey <tom@tromey.com>
Date: Sat Sep 8 09:03:29 2018 -0600
Fix typo in pretty-printer example
PR python/23487 points out that the "disable pretty-printer" example
has a typo that makes it incorrect. This patch fixes the typo.
gdb/doc/ChangeLog
2018-09-10 Tom Tromey <tom@tromey.com>
PR python/23487:
* gdb.texinfo (Pretty-Printer Commands): Fix typo in example.
Diff:
---
gdb/doc/ChangeLog | 5 +++++
gdb/doc/gdb.texinfo | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index cf427ff..f266f75 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,10 @@
2018-09-10 Tom Tromey <tom@tromey.com>
+ PR python/23487:
+ * gdb.texinfo (Pretty-Printer Commands): Fix typo in example.
+
+2018-09-10 Tom Tromey <tom@tromey.com>
+
PR python/16033:
* python.texi (Blocks In Python): Document that Block.end is
exclusive.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8ebbe5f..f479fef 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -10798,7 +10798,7 @@ library2.so:
bar
bar1
bar2
-(gdb) disable pretty-printer library2 bar:bar1
+(gdb) disable pretty-printer library2 bar;bar1
1 printer disabled
1 of 3 printers enabled
(gdb) info pretty-printer library2