This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI: type prefixes for values
> From: Vladimir Prus <ghost@cs.msu.su>
> Date: Mon, 20 Feb 2006 10:23:04 +0300
> Cc: Eli Zaretskii <eliz@gnu.org>,
> gdb@sources.redhat.com
>
> To make an even more specific question, I propose to:
>
> - Remove type prefix from output of -data-evaluate-expression and
> -var-evaluat-expression
>
> - Add 'type' field to the output of -data-evaluate-expression
>
>
> Is this OK with everyone?
I think a better suggestion surfaced in this discussion: don't try to
parse the output of -data-evaluate-expression, and use -var-create
instead. Is that good enough? If not, why not?