Patch: Adjust libstdc++ std::string GDB pretty-printer to use 'lazy strings'.

Tom Tromey tromey@redhat.com
Fri Jan 15 19:11:00 GMT 2010


>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:

Phil> 2010-01-14  Phil Muldoon  <pmuldoon@redhat.com>
Phil> 	* python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
Phil> 	Remove encoding argument.
Phil> 	(StdStringPrinter.to_string): Do not compute or pass encoding.
Phil> 	Use lazy_string over string function.

This is ok.  Thanks.

Tom



More information about the Libstdc++ mailing list