This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problem with MI -var-evaluate-expression command
- From: Keith Seitz <keiths at redhat dot com>
- To: Mo DeJong <supermo at bayarea dot net>
- Cc: <gdb at sources dot redhat dot com>
- Date: Thu, 11 Jul 2002 12:43:34 -0700 (PDT)
- Subject: 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