This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] mips_abi_update, flush_cached_frames
- From: Daniel Jacobowitz <drow at false dot org>
- To: Michael Snyder <michsnyd at cisco dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 31 Mar 2005 20:00:40 -0500
- Subject: Re: [RFC] mips_abi_update, flush_cached_frames
- References: <015a01c53655$98481cb0$8ca66b80@msnyder8600>
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