This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
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: Tue, 23 Feb 2010 01:53:19 -0600
- Subject: MI Interface and Pretty Print to_string() result
If I see that right, there is no way to obtain the result of the to_string() method from a pretty printer for a dynamic variable object that is a child of another dynamic variable object.
-var-evaluate-expression returns "{...}" for anything that has children, and in order to use -data-evaluate-expression, I must be able to provide an expression that denotes the variable object. This however, seems not possible for dynamic variable objects that are a direct or indirect child of another dynamic variable object.
Is there some mistake on my side?
Would it help to enter a bug that -var-evualuate-expression always returns the result of the pretty printers to_string() method?
Jens.