[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Support for "read-sensitive" values
|
On Wednesday 15 November 2006 14:42, Mikhail Khodjaiants wrote:
> > 3. The variables view has a details pane, and the content of that
>
> details pane is populated via MI's -data-evaluate-expression. So, each
>
> > expression will be evaluated twice -- first time to display it in the
>
> tree, and second time to display it in details pane. Is it possible to
>
> > make the details pane construct text based on variable objects used
>
> for tree display, to eliminate this double evaluation?
>
> The evaluation based on variable objects and on
> "-data-evaluate-expression" in many cases provide two different
> presentations for same variable. A good example is "char *".
Yes, I know. And structures too. But for simple values (specifically those for
which varobj has no children) it seems possible to just use the
result -var-evaluate-expression.
> Of course,
> this is specific for the gdb/mi implementation and can be changed if
> needed for read-sensitive values.
Ok, good.
Thanks,
Volodya