This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with MI -var-evaluate-expression command


On Thu, 11 Jul 2002, Mo DeJong wrote:

> It sounds like that works just fine for a watch window where each
> child will be displayed. I just wonder if that is the only valid use case.
> I am looking at building a scripting interface to the gdb/mi, so I don't need
> watch window semantics just now.

If your input is coming from an automated UI, then it sh/would use -var-*.
On the other hand, if the input were coming from a user, then you would
definately want to use -data-*, e.g., Insight's variable windows use
-var-*, but GDB's console would use -data-* (if it implemented its
commands that way).

Keith



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]