[02/14] Fix typo in pretty-printer example
Commit Message
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-08 Tom Tromey <tom@tromey.com>
PR python/23487:
* gdb.texinfo (Pretty-Printer Commands): Fix typo in example.
---
gdb/doc/ChangeLog | 5 +++++
gdb/doc/gdb.texinfo | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
Comments
> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Sat, 8 Sep 2018 14:14:05 -0600
>
> 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-08 Tom Tromey <tom@tromey.com>
>
> PR python/23487:
> * gdb.texinfo (Pretty-Printer Commands): Fix typo in example.
Thanks, this is OK.
@@ -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