Fix typo in pretty-printer example
authorTom Tromey <tom@tromey.com>
Sat, 8 Sep 2018 15:03:29 +0000 (09:03 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Sep 2018 13:44:23 +0000 (07:44 -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-10  Tom Tromey  <tom@tromey.com>

PR python/23487:
* gdb.texinfo (Pretty-Printer Commands): Fix typo in example.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index cf427fffbd2d0c5f23920248cbffaf5e9e92f655..f266f75b59148ccb01774f3c310de73340dd13f9 100644 (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:
index 8ebbe5fecb606e8b07bb9ddf2bac05683071ba04..f479feffe3280fb7c0541cb490a0b390a1c0c9fb 100644 (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