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: 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.


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