OSDN Git Service

PR libstdc++/51649:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Jan 2012 16:25:11 +0000 (16:25 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Jan 2012 16:25:11 +0000 (16:25 +0000)
commitcd587d4d5171e45e5dd5f926ff37fcc715763a8a
treedfa5562778e2cbd7c0ba3dc5765d3720b86193a9
parenta4d16d3046583e0b59ec8c4b712b1c827f7b98c3
PR libstdc++/51649:
* testsuite/libstdc++-prettyprinters/debug.cc: New file.
* testsuite/lib/gdb-test.exp (regexp-test): New proc.
(note-test): Update.
(gdb-test): Handle regexp tests.  Add some logging.
* testsuite/libstdc++-prettyprinters/simple.cc: Compile with -O0.
(placeholder, use): Remove.
(main): Add tests for deque, list, map, and set iterators.  Add
tests for slist and slist iterator.
* testsuite/libstdc++-prettyprinters/48362.cc (main): Handle __7
namespace.
* python/libstdcxx/v6/printers.py (StdListPrinter.children): Use
the type's _Node typedef.
(StdListIteratorPrinter.to_string): Change how node type is
computed.
(StdSlistPrinter.children): Use the type's _Node typedef.
(StdSlistIteratorPrinter.to_string): Likewise.
(StdRbtreeIteratorPrinter.to_string): Use the type's _Link_type
typedef.
(StdMapPrinter.children): Change how the node's type is computed.
(StdSetPrinter.children): Likewise.
(StdForwardListPrinter.children): Use the type's _Node typedef.
(Printer.add_version): New method.
(Printer.add_container): New method.
(build_libstdcxx_dictionary): Handle __7 and __cxx1998
namespaces.
(find_type): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183732 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/lib/gdb-test.exp
libstdc++-v3/testsuite/libstdc++-prettyprinters/48362.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/debug.cc [new file with mode: 0644]
libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc