This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI: type prefixes for values
On Saturday 18 February 2006 13:56, Eli Zaretskii wrote:
> > In Xcode, we do use -data-evaluate-expression, but only when we are
> > doing function calls where we know the call we are making and what to
> > expect back. In this case the overhead of the variable object is not
> > worth the trouble. Other than that, we use varobj's...
>
> Jim, how about if you (and everyone else who has working knowledge of
> using MI in front ends) write a section for the GDB manual with
> various do's and dont's, such as those you mention above? I think
> this would be a useful addition to the manual, one that could
> significantly boost developers' readiness to switch to MI and use it
> wisely. Right now, every one of them needs to discover this on their
> own.
Seconded. Specifically, the introduction to variables object section is
hopelessy unclear at the moment. If somebody could put up a short explanation
why they are good, and what's the best way to use them, this will be great.
- Volodya