mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
gdb/doc: fix inconsistent info pretty-printer example
The example for 'info pretty-printer' in the manual passes an object-regexp in some cases, but presents output as though no object-regexp was passed. This commit fixes the two mistakes, in one case, fixing the output to filter based on object-regexp, and in the other, to remove the object-regexp from the command and leave all the output.
This commit is contained in:

committed by
Andrew Burgess

parent
95086e1e54
commit
8ea87c7296
@ -12101,8 +12101,6 @@ library2.so:
|
||||
1 printer disabled
|
||||
1 of 3 printers enabled
|
||||
(gdb) info pretty-printer library2
|
||||
library1.so:
|
||||
foo [disabled]
|
||||
library2.so:
|
||||
bar
|
||||
bar1 [disabled]
|
||||
@ -12110,7 +12108,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:
|
||||
|
Reference in New Issue
Block a user