This is the mail archive of the gdb@sourceware.org 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: -var-update and address changes


Vladimir Prus writes:
 > On Friday 14 April 2006 23:49, Jim Ingham wrote:
 > 
 > > Note as an aside, that we had to add another varobj type which is
 > > evaluated in the selected frame, whatever that happens to be.  That
 > > was useful for a general "variable inspector" window.  People wanted
 > > to put some expression there, and have it re-evaluated in the topmost
 > > frame whenever they stopped.  So we added that functionality.  But
 > > that is clearly distinct from what the "*" varobj type is supposed to
 > > mean.
 > 
 > Hi Jim,
 > is this "variable inspector" the same thing that's called "watches" in other 
 > IDEs? Well, I really wish that gdb did support variable objects that are 
 > reevaluated in the current frame. As it stands now, I have to re-create 
 > variable objects on each step.

Assuming some ambiguity with current/selected, have you tried (not documented):

"-var-create - @ NAME" 

which behaves a bit differently to "-var-create - * NAME".

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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