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.
This commit is contained in:
Tom Tromey 2018-09-08 09:03:29 -06:00
parent 22eb9e92ea
commit 088a96da05
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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:

View File

@ -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