printers.py (build_libstdcxx_dictionary): Fix std::_Fwd_list_iterator and std::_Fwd_l...
authorFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 9 Mar 2018 05:56:07 +0000 (05:56 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 9 Mar 2018 05:56:07 +0000 (05:56 +0000)
2018-03-09  François Dumont  <fdumont@gcc.gnu.org>

* 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
libstdc++-v3/python/libstdcxx/v6/printers.py

index ae464ddf9baf6e5470c53f3c65a628bd4176f985..7db7e819979fd2d8b03e8b0673385aafd3b2df38 100644 (file)
@@ -1,3 +1,9 @@
+2018-03-09  François Dumont  <fdumont@gcc.gnu.org>
+
+       * 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  <jwakely@redhat.com>
 
        PR libstdc++/84769
index b5f76f20810f5831f0fad3c987379c4a214297c9..45aaa1211ec180158cec33a7b3a64c6d6f608109 100644 (file)
@@ -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.