printers.py (NodeIteratorPrinter): New.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 8 Mar 2018 06:26:15 +0000 (06:26 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 8 Mar 2018 06:26:15 +0000 (06:26 +0000)
commitfe6bd21a0bda55abf859223648f31710772eb1eb
treec8971f9b08ecacf0a0c34b693147b5c9e064415a
parent1b1a188198d510bc7400386c9f7fea650d1d7aba
printers.py (NodeIteratorPrinter): New.

2018-03-08  François Dumont  <fdumont@gcc.gnu.org>

* python/libstdcxx/v6/printers.py (NodeIteratorPrinter): New.
(StdListIteratorPrinter): Inherit from latter.
(StdFwdListIteratorPrinter): New, inherit from latter.
(StdDebugIteratorPrinter.to_string): Use non-debug iterator printer
when iterator has no associated container.
(build_libstdcxx_dictionary): Add __gnu_cxx::_Fwd_list_iterator and
__gnu_cxx::_Fwd_list_const_iterator printers. Remove __norm namespace
registrations.
* testsuite/libstdc++-prettyprinters/debug.cc: Adapt.
* testsuite/libstdc++-prettyprinters/debug_cxx11.cc: Adapt.

From-SVN: r258350
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/libstdc++-prettyprinters/debug.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/debug_cxx11.cc