[MI] lvalues and variable_editable

Daniel Jacobowitz drow@false.org
Tue Jul 10 01:45:00 GMT 2007


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



More information about the Gdb-patches mailing list