This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFC] mips_abi_update, flush_cached_frames
- From: "Michael Snyder" <michsnyd at cisco dot com>
- To: <gdb-patches at sources dot redhat dot com>
- Date: Thu, 31 Mar 2005 16:56:05 -0800
- Subject: [RFC] mips_abi_update, flush_cached_frames
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.
Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.379
diff -p -r1.379 mips-tdep.c
*** mips-tdep.c 17 Mar 2005 18:07:46 -0000 1.379
--- mips-tdep.c 1 Apr 2005 00:52:33 -0000
*************** mips_abi_update (char *ignore_args, int
*** 5057,5062 ****
--- 5057,5063 ----
mips_gdbarch_init will take care of the rest. */
gdbarch_info_init (&info);
gdbarch_update_p (info);
+ flush_cached_frames ();
}
/* Print out which MIPS ABI is in use. */