PR59161 make pretty printers always return strings
commitd989a3e05b13881015835848a0cde28a639c4851
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Dec 2016 13:25:22 +0000 (15 13:25 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Dec 2016 13:25:22 +0000 (15 13:25 +0000)
tree89179b409860041c2cc9c9cac49b6ee9a618ed29
parent1dc84a99267eb2536b1414d694db0fb0d26b3dc5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243690 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/libstdc++-prettyprinters/59161.cc [new file with mode: 0644]