This is the mail archive of the
mailing list for the GDB project.
Re: Register Cache.
- To: Steven Johnson <sjohnson at neurizon dot net>
- Subject: Re: Register Cache.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 26 Mar 2001 19:42:34 -0500
- Cc: Fernando Nasser <fnasser at redhat dot com>,Steven Johnson <sbjohnson at ozemail dot com dot au>, gdb at sources dot redhat dot com
- References: <8AE4B526B977D411841F00A0CC334020052C28@cuz-exchange.sdesigns.net> <39AC598A.DFAF67E9@ozemail.com.au> <3ABF562F.2144AF18@cygnus.com> <3ABF5DF9.4D630216@redhat.com> <3ABFD062.17EDADAF@neurizon.net>
Steven Johnson wrote:
> I have gotten around the issues by invalidating the register cache
> between writes. This is obviously sub-optimal but it works OK.
Very sub-optimal. Being able to blat register_valid is going away :-)
> A better implementation would be to allow a setting on a register by
> register basis that sets how it will be cached by reg-cache. At the
> time of the original post, this was a fairly major undertaking.
> Regcache currently seems to be undergoing changes that will make
> implementing this easier but for the moment flushing works fine.
I hope it helps.