diff options
author | Doug Evans <dje@google.com> | 2010-11-29 23:20:58 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-11-29 23:20:58 +0000 |
commit | 4e04c971fb3d855f3e81231a7649f398ff021c4c (patch) | |
tree | 8b13806ad465083948f76ee40e61b6a0ff1053c5 /gdb/testsuite/gdb.python | |
parent | 0e75fdc4e0284927e2c601bee62bd4526ee0735d (diff) | |
download | binutils-gdb-4e04c971fb3d855f3e81231a7649f398ff021c4c.tar.gz |
* python/lib/gdb/printing.py (register_pretty_printer): Change
printer-name:subprinter-name to printer-name;subprinter-name.
* python/lib/gdb/command/pretty_printers.py (parse_printer_regexps):
Ditto.
(InfoPrettyPrinter, EnablePrettyPrinter, DisablePrettyPrinter): Ditto.
doc/
* gdb.texinfo (Pretty-Printer Introduction): Change
printer-name:subprinter-name to printer-name;subprinter-name.
testsuite/
* gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
printer-name;subprinter-name.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-pp-maint.exp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.python/py-pp-maint.exp b/gdb/testsuite/gdb.python/py-pp-maint.exp index 0aa79568e89..747458463de 100644 --- a/gdb/testsuite/gdb.python/py-pp-maint.exp +++ b/gdb/testsuite/gdb.python/py-pp-maint.exp @@ -80,14 +80,20 @@ gdb_test "print ss" " = a=<a=<1> b=<$hex>> b=<a=<2> b=<$hex>>" \ gdb_test "disable pretty-printer" \ "5 printers disabled.*0 of 5 printers enabled" +gdb_test "enable pretty-printer" \ + "5 printers enabled.*5 of 5 printers enabled" + gdb_test "disable pretty-printer global" \ - "0 printers disabled.*0 of 5 printers enabled" + "5 printers disabled.*0 of 5 printers enabled" + +gdb_test "enable pretty-printer" \ + "5 printers enabled.*5 of 5 printers enabled" gdb_test "disable pretty-printer global lookup_function_lookup_test" \ - "0 printers disabled.*0 of 5 printers enabled" + "1 printer disabled.*4 of 5 printers enabled" -gdb_test "disable pretty-printer global pp-test:.*" \ - "0 printers disabled.*0 of 5 printers enabled" +gdb_test "disable pretty-printer global pp-test;.*" \ + "4 printers disabled.*0 of 5 printers enabled" gdb_test "info pretty-printer global .*function" \ {.*function_lookup_test \[disabled\].*} @@ -110,10 +116,10 @@ gdb_test "enable pretty-printer global lookup_function_lookup_test" \ gdb_test "enable pretty-printer global pp-test" \ "0 printers enabled.*1 of 5 printers enabled" -gdb_test "enable pretty-printer global pp-test:.*ss.*" \ +gdb_test "enable pretty-printer global pp-test;.*ss.*" \ "2 printers enabled.*3 of 5 printers enabled" -gdb_test "enable pretty-printer global pp-test:.*s.*" \ +gdb_test "enable pretty-printer global pp-test;.*s.*" \ "2 printers enabled.*5 of 5 printers enabled" gdb_test "info pretty-printer" \ |