From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13184 invoked by alias); 1 Apr 2005 00:56:20 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13162 invoked from network); 1 Apr 2005 00:56:16 -0000 Received: from unknown (HELO sj-iport-3.cisco.com) (171.71.176.72) by sourceware.org with SMTP; 1 Apr 2005 00:56:16 -0000 Received: from sj-core-2.cisco.com (171.71.177.254) by sj-iport-3.cisco.com with ESMTP; 31 Mar 2005 16:56:11 -0800 X-IronPort-AV: i="3.91,139,1110182400"; d="scan'208"; a="243885283:sNHT984304628" Received: from msnyder8600 (dhcp-128-107-166-140.cisco.com [128.107.166.140]) by sj-core-2.cisco.com (8.12.10/8.12.6) with SMTP id j310u8gE018667 for ; Thu, 31 Mar 2005 16:56:09 -0800 (PST) Message-ID: <015a01c53655$98481cb0$8ca66b80@msnyder8600> From: "Michael Snyder" To: Subject: [RFC] mips_abi_update, flush_cached_frames Date: Fri, 01 Apr 2005 00:56:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00000.txt.bz2 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 * 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. */