Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Failures in store.exp caused by regcache
@ 2003-01-08 19:05 Daniel Jacobowitz
  2003-01-08 19:11 ` Andrew Cagney
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Jacobowitz @ 2003-01-08 19:05 UTC (permalink / raw)
  To: gdb

(Or rather, by the value code's interaction with the regcache)

Andrew, this is more your area; I'd like your advice before I dig any
further.  Here's what's going wrong.  Consider the command sequence:
"up; print u; set u = s_1; print u".
  - u has class LOC_REGISTER
  - The register's home is memory
  - read_var_value therefore returns an lval_memory
  - the value of the register is in the register unwind cache at this point
  - we modify the memory backing the store
  - we have no way to tell that we've just modified the value of a saved
    register on the stack
  - the second print returns the cached value

So, what do we do?  I really don't want to flush cached register values in
value_assign.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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

end of thread, other threads:[~2003-01-09 17:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08 19:05 Failures in store.exp caused by regcache Daniel Jacobowitz
2003-01-08 19:11 ` Andrew Cagney
2003-01-09  3:23   ` Daniel Jacobowitz
2003-01-09 16:50     ` Andrew Cagney
2003-01-09 17:14       ` Daniel Jacobowitz
2003-01-09 17:48         ` Andrew Cagney

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