This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: store.exp failure on i686-linux with newer gcc's
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb at sourceware dot org
- Cc: Doug Evans <dje at google dot com>
- Date: Thu, 3 Sep 2009 23:03:56 +0100
- Subject: Re: store.exp failure on i686-linux with newer gcc's
- References: <e394668d0909031450te808c15h87a2f884b38a7281@mail.gmail.com>
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