https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu May 18 09:23:38 2017
New Revision: 248182

URL: https://gcc.gnu.org/viewcvs?rev=248182&root=gcc&view=rev
Log:
PR59161 make pretty printers always return strings

Backport from mainline
2016-12-15  Jonathan Wakely  <jwak...@redhat.com>

        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:
   
branches/gcc-5-branch/libstdc++-v3/testsuite/libstdc++-prettyprinters/59161.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/python/libstdcxx/v6/printers.py

Reply via email to