From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2997 invoked by alias); 1 Apr 2005 01:25:57 -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 2953 invoked from network); 1 Apr 2005 01:25:53 -0000 Received: from unknown (HELO sj-iport-5.cisco.com) (171.68.10.87) by sourceware.org with SMTP; 1 Apr 2005 01:25:53 -0000 Received: from sj-core-2.cisco.com (171.71.177.254) by sj-iport-5.cisco.com with ESMTP; 31 Mar 2005 17:25:54 -0800 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 j311PngE006493; Thu, 31 Mar 2005 17:25:50 -0800 (PST) Message-ID: <016501c53659$bde9c2d0$8ca66b80@msnyder8600> From: "Michael Snyder" To: "Daniel Jacobowitz" Cc: References: <015a01c53655$98481cb0$8ca66b80@msnyder8600> <20050401010040.GA17642@nevyn.them.org> Subject: Re: [RFC] mips_abi_update, flush_cached_frames Date: Fri, 01 Apr 2005 01:25: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/msg00002.txt.bz2 > 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 >> >> * 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. Are we allowed to change deprecated functions? > [You're definitely right about the problem, though. I ran into this on > ARM last week.] > > -- > Daniel Jacobowitz > CodeSourcery, LLC