RE: MI Interface and Pretty Print to_string() result

Elmenthaler, Jens
2010-03-04T08:14:12Z

Tom> I don't know about -data-evaluate-expression, but we also don't support
Tom> -var-info-path-expression:

Tom> http://sourceware.org/bugzilla/show_bug.cgi?id=10252

Tom> I haven't looked at this in a while, despite owning the PR, but my
Tom> recollection is that I didn't even have a good idea for how it could
Tom> work.

If you could fix that, it would safe me (and possibly every other frontend) a lot of work! I'm close to deciding that enabling the pretty printers for the MI variable objects doesn't work.

The current issue is that if I have a pointer as a direct or indirect child of a dynamic variable object, how do I dereference it? The way it is done without pretty printers is to take the result of -var-info-path-expression, and than create a variable object for *(resulting-expression).