diff options
author | Tom Tromey <tromey@redhat.com> | 2012-01-30 16:25:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2012-01-30 16:25:11 +0000 |
commit | 3efe2bf72bfd8910fa48c957205df7f0e93060e1 (patch) | |
tree | dfa5562778e2cbd7c0ba3dc5765d3720b86193a9 /gcc | |
parent | e799d447097b728213232e08fc2e807c3e5f8265 (diff) | |
download | gcc-3efe2bf72bfd8910fa48c957205df7f0e93060e1.zip gcc-3efe2bf72bfd8910fa48c957205df7f0e93060e1.tar.gz gcc-3efe2bf72bfd8910fa48c957205df7f0e93060e1.tar.bz2 |
re PR libstdc++/51649 (pretty printers don't handle std::__7:: namespace)
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.
From-SVN: r183732
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions