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]

[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. */



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