https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Thu Dec 15 13:25:22 2016 New Revision: 243690 URL: https://gcc.gnu.org/viewcvs?rev=243690&root=gcc&view=rev Log: PR59161 make pretty printers always return strings PR libstdc++/59161 * python/libstdcxx/v6/printers.py (StdListIteratorPrinter.to_string) (StdSlistIteratorPrinter.to_string, StdVectorIteratorPrinter.to_string) (StdRbtreeIteratorPrinter.to_string, StdDequeIteratorPrinter.to_string) (StdDebugIteratorPrinter.to_string): Return string instead of gdb.Value. * testsuite/libstdc++-prettyprinters/59161.cc: New test. Added: trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/59161.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/python/libstdcxx/v6/printers.py