Robustifying pretty-printers
Daniel Jacobowitz
drow@false.org
Mon Jun 15 12:55:00 GMT 2009
On Mon, Jun 15, 2009 at 04:38:57PM +0400, Vladimir Prus wrote:
> On Monday 15 June 2009 Phil Muldoon wrote:
> > + return self.val['_M_dataplus']['_M_p'].string (encoding, length = len)
>
> Great, this is exactly what I was looking for.
Is it? This uses the length from the (possibly uninitialized)
std::string as a maximum. I think we want something higher level,
similar to today's "set print elements", to apply.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list