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: store.exp failure on i686-linux with newer gcc's


On Thu, Sep 3, 2009 at 3:03 PM, Pedro Alves<pedro@codesourcery.com> wrote:
> 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.

Good thing I checked first. :-)
Thanks.

What's the status? [if I may ask - no rush, just curious]


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