This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/11335] -var-evaluate-expression should return the pretty printer's to_string result
- From: "vladimir at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 6 Mar 2010 08:14:15 -0000
- Subject: [Bug mi/11335] -var-evaluate-expression should return the pretty printer's to_string result
- References: <20100301114459.11335.jens.elmenthaler@verigy.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From vladimir at codesourcery dot com 2010-03-06 08:14 -------
Could you clarify why you even want to use -data-evaluate-expression? Is that
because you're adding pretty-printing to CDT and CDT, for some unknown reason,
wants to display "variable details" for selected node in the variables tree?
I am opposed to bloating the output of -var-update and or -var-list-children
with full text (=CLI) rendering of that varobj, because such a design would
require that GDB, fetches entire value from memory, always. It might be
possible to introduce a separate command, or add --varobj option to -data-
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11335
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.