This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Machine interface
- From: "Alain Magloire" <alain at qnx dot com>
- To: ac131313 at redhat dot com (Andrew Cagney)
- Cc: jacqueslenormand at sympatico dot ca (jacques), gdb at sources dot redhat dot com
- Date: Tue, 19 Aug 2003 09:25:47 -0400 (EDT)
- Subject: Re: Machine interface
>
> Have a look at the -var-* commands. The testsuite is currently the best
> source of examples.
>
In other words try:
(gdb)
-var-create - * b
...
-var-evaluate-expression var1
Using the varobj, as shown to be more reliable.
and we use -data-evaluate-expression only for hovering or quick evaluation.