Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* store.exp failure on i686-linux with newer gcc's
@ 2009-09-03 21:50 Doug Evans
  2009-09-03 21:58 ` Joel Brobecker
  2009-09-03 22:04 ` Pedro Alves
  0 siblings, 2 replies; 13+ messages in thread
From: Doug Evans @ 2009-09-03 21:50 UTC (permalink / raw)
  To: gdb

Hi.

Anyone working on this failure?

FAIL: gdb.base/store.exp: var longest l; print new l, expecting -1
[should read "expecting 4", fixed in separate patch]
FAIL: gdb.base/store.exp: var longest l; print incremented l, expecting 2
FAIL: gdb.base/store.exp: upvar longest l; print new l, expecting 4
FAIL: gdb.base/store.exp: var struct 4 u; print new u, expecting {s =
\{1, 2, 3, 4}}
FAIL: gdb.base/store.exp: up struct 4 u; print new u, expecting {s =
\{1, 2, 3, 4}}

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?


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-09-04 22:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 21:50 store.exp failure on i686-linux with newer gcc's Doug Evans
2009-09-03 21:58 ` Joel Brobecker
2009-09-03 22:04 ` Pedro Alves
2009-09-03 22:17   ` Doug Evans
2009-09-03 23:44     ` Nathan Froyd
2009-09-04 16:05       ` Tom Tromey
2009-09-04 17:49         ` Nathan Froyd
2009-09-04 18:38           ` Tom Tromey
2009-09-04 20:17             ` Nathan Froyd
2009-09-04 20:18               ` Doug Evans
2009-09-04 21:23       ` Tom Tromey
2009-09-04 21:28         ` Daniel Jacobowitz
2009-09-04 22:28           ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox