This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]