Daniel Jacobowitz | 1 Apr 2005 03:00

Re: [RFC] mips_abi_update, flush_cached_frames

On Thu, Mar 31, 2005 at 04:56:05PM -0800, Michael Snyder wrote:
> Check me out here -- if you change the abi, it seems to me
> you better make sure you get rid of any cached frames...
> 
> 2005-03-31  msnyder  <msnyder <at> redhat.com>
> 
> * mips-tdep.c (mips_abi_update): If abi is changed, cached
> frames better be flushed.

Yes and no - I don't think this is the right place to do it.
My current feeling is that this belongs in
deprecated_current_gdbarch_select_hack.

[You're definitely right about the problem, though.  I ran into this on
ARM last week.]

--

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Gmane