This is the mail archive of the gdb-patches@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: [MI] lvalues and variable_editable


On Tue, Jul 10, 2007 at 12:37:55AM +1200, Nick Roberts wrote:
> Taking my earlier example:
> 
> -var-create - * "i1 + i2"
> 
> As it's not an lvalue it's not editable (variable_editable_p returns 0)
> but it's value can surely change (variable_changeable_p returns 1).  So GDB
> has to check for this and report any change when -var-update is issued.

Yeah, I see.  Thanks.

-- 
Daniel Jacobowitz
CodeSourcery


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