This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Why is the state of cache being changed by regcache_observer_notify_target() ?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Kalpana Ramamurthy <kal_pana at hotmail dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 29 May 2007 09:37:52 -0400
- Subject: Re: Why is the state of cache being changed by regcache_observer_notify_target() ?
- References: <BAY144-F34710C6C4A51828E9DF760E82F0@phx.gbl>
On Tue, May 29, 2007 at 12:12:50PM +0000, Kalpana Ramamurthy wrote:
> Why is the regcache_observer_target_changed() changing the values of
> register_valid_p as soon as its set earlier ?
In case changing one register causes another to change in some
unpredictable way. The register should be written to the target when
it is changed, and then later read back with the new value.
--
Daniel Jacobowitz
CodeSourcery