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: How does GDB/MI give the current frame


 > Nic, are you using the -var-obj for variables, in theory they
 > have the context i.e. should be thread aware ?

Ah yes, I can see that now. It seems a bit quirky and that you have to
do a -var-update for each thread. Also there's no way of seeing which
thread the variable object is for:

-var-info-expression var1
^done,lang="C",exp="y"
(gdb) 
-var-info-expression var2
^done,lang="C",exp="y"
(gdb) 

Nick


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