This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] MI: Allow non-raw varobj evaluation
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: Leszek Swirski <leszeks at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 24 Jan 2018 21:53:00 -0500
- Subject: Re: [PATCH] MI: Allow non-raw varobj evaluation
- Authentication-results: sourceware.org; auth=none
- References: <20180124173223.213808-1-leszeks@google.com>
On 2018-01-24 12:32, Leszek Swirski via gdb-patches wrote:
Make the MI variable object expression evaluation, with the
-var-evaluate-expression command, recursively call pretty printers, to
match the output of normal expression printing.
This is gated behind the -enable-pretty-printing command.
Hi Leszek,
Could you give an example to reproduce this problem? I tried with a
vector of vector, but -var-evaluate-expression just prints "{...}":
-var-evaluate-expression var1
^done,value="{...}"
so I am not sure what problem you are after.
Simon