This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: bokenness of nested pretty printers
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Tom> I wonder why VALUE_ADDRESS does not do this addition itself.
Paul> I don't quite understand why 'offset' is even needed (and GDB
Paul> internals is silent on the whole 'what are values' subject :(
I was just wondering on irc why 'offset' is needed.
I looked at all the calls to set_value_offset to see if that was
interesting. Mostly they occur right after value construction --
those I think are not useful.
There are a few remaining ones I didn't understand. I guess I need to
read more.
Paul> If 'offset' is really necessary, then I think VALUE_ADDRESS()
Paul> or something similar ought to add 'offset' automatically.
Yeah, me too.
Do you want to work on solving this, or shall I?
Tom