[python] Pretty-printers and addressprint
Tom Tromey
tromey@redhat.com
Tue Nov 10 15:45:00 GMT 2009
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Paul> The issue I am having is there is no apparent way to get rid of the
Paul> address from python side (address is not printed when the printer
Paul> returns a python string instead of a value), whereas if the
Paul> printer really wants to print the address, it can trivally add
Paul> it back by returning appropriate python string.
Adding it manually like that will also affect MI output, which may not
be what you really want.
Paul> Should the decision to print addresses be deferred to the
Paul> pretty-printer? Is the patch below reasonable?
I'm ok with it. If nobody complains this week, check it in.
Tom
More information about the Gdb
mailing list