Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC] mips_abi_update, flush_cached_frames
@ 2005-04-01  0:56 Michael Snyder
  2005-04-01  0:59 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Snyder @ 2005-04-01  0:56 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-02 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-01  0:56 [RFC] mips_abi_update, flush_cached_frames Michael Snyder
2005-04-01  0:59 ` Daniel Jacobowitz
2005-04-01  1:25   ` Michael Snyder
2005-05-01 23:17   ` Daniel Jacobowitz
2005-05-02 19:23     ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox