MI Interface and Pretty Print to_string() result
Elmenthaler, Jens
jens.elmenthaler@verigy.com
Thu Mar 4 08:14:00 GMT 2010
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).
More information about the Gdb
mailing list