store.exp failure on i686-linux with newer gcc's

Pedro Alves pedro@codesourcery.com
Thu Sep 3 22:04:00 GMT 2009


On Thursday 03 September 2009 22:50:13, Doug Evans wrote:

> Newer gcc's can store a 64 bit int in non-contiguous registers and use
> DW_OP_piece to mark each piece.
> 
> value->lval is set to not_lval and value_assign doesn't like that so
> gdb refuses to set the variable with "Left operand of assignment is
> not an lvalue."
> 
> It seems like we need to not mark the value as not_lval and teach the
> relevant pieces how to handle such values.
> Anyone thought about how they want this done?

Nathan Froyd has a patch for this, using the lval_computed
machinery.

-- 
Pedro Alves



More information about the Gdb mailing list