From 5da6b0135551f0060cd86d62cbbbfa5a4013157d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Dumont?= Date: Fri, 9 Mar 2018 05:56:07 +0000 Subject: [PATCH] printers.py (build_libstdcxx_dictionary): Fix std::_Fwd_list_iterator and std::_Fwd_list_const_iterator printers registration. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2018-03-09 François Dumont * python/libstdcxx/v6/printers.py (build_libstdcxx_dictionary): Fix std::_Fwd_list_iterator and std::_Fwd_list_const_iterator printers registration. From-SVN: r258380 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/python/libstdcxx/v6/printers.py | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ae464ddf9ba..7db7e819979 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2018-03-09 François Dumont + + * python/libstdcxx/v6/printers.py (build_libstdcxx_dictionary): + Fix std::_Fwd_list_iterator and std::_Fwd_list_const_iterator printers + registration. + 2018-03-09 Jonathan Wakely PR libstdc++/84769 diff --git a/libstdc++-v3/python/libstdcxx/v6/printers.py b/libstdc++-v3/python/libstdcxx/v6/printers.py index b5f76f20810..45aaa1211ec 100644 --- a/libstdc++-v3/python/libstdcxx/v6/printers.py +++ b/libstdc++-v3/python/libstdcxx/v6/printers.py @@ -1744,10 +1744,10 @@ def build_libstdcxx_dictionary (): StdVectorIteratorPrinter) libstdcxx_printer.add_version('__gnu_cxx::', '_Slist_iterator', StdSlistIteratorPrinter) - libstdcxx_printer.add_version('__gnu_cxx::', '_Fwd_list_iterator', - StdFwdListIteratorPrinter) - libstdcxx_printer.add_version('__gnu_cxx::', '_Fwd_list_const_iterator', - StdFwdListIteratorPrinter) + libstdcxx_printer.add_container('std::', '_Fwd_list_iterator', + StdFwdListIteratorPrinter) + libstdcxx_printer.add_container('std::', '_Fwd_list_const_iterator', + StdFwdListIteratorPrinter) # Debug (compiled with -D_GLIBCXX_DEBUG) printer # registrations. -- 2.30.2