This is the mail archive of the
mailing list for the Archer project.
Re: [python] Pretty-printers and addressprint
On Tue, Nov 10, 2009 at 3:53 AM, Paul Koning <Paul_Koning@dell.com> wrote:
>> Unfortunately I frequently deal with non-ascii strings, and the
>> problem just wouldn't go away :-(
> My test (without gdb, I don't have that installed yet) is inconclusive
> but I think using repr() will cure that too.
AFAICT, in GDB repr(value) is a no-op, and the end result of returning
repr(value) from the pretty-printer is exactly the same as that of
returning the value itself:
$4 = 0x4007e0 "this is x\201\202\203\204"
Should repr(value) do something different?