This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: MI Interface and Pretty Print to_string() result
- From: "Elmenthaler, Jens" <jens dot elmenthaler at verigy dot com>
- To: <gdb at sourceware dot org>
- Date: Thu, 4 Mar 2010 02:13:19 -0600
- Subject: RE: MI Interface and Pretty Print to_string() result
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).