From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25791 invoked by alias); 16 Apr 2004 14:13:41 -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 25762 invoked from network); 16 Apr 2004 14:13:38 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 16 Apr 2004 14:13:38 -0000 Received: from drow by nevyn.them.org with local (Exim 4.31 #1 (Debian)) id 1BEU61-0002d3-Kh; Fri, 16 Apr 2004 10:13:33 -0400 Date: Fri, 16 Apr 2004 14:13:00 -0000 From: Daniel Jacobowitz To: Orjan Friberg Cc: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: Multiplexed registers and invalidating the register cache Message-ID: <20040416141333.GA9718@nevyn.them.org> Mail-Followup-To: Orjan Friberg , Andrew Cagney , gdb-patches@sources.redhat.com References: <407D242B.109@axis.com> <20040414144607.GA5700@nevyn.them.org> <407E67EA.80701@axis.com> <407E70FD.7060709@axis.com> <407EAA4B.7000500@gnu.org> <407FD693.2080804@axis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <407FD693.2080804@axis.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00350.txt.bz2 On Fri, Apr 16, 2004 at 02:50:27PM +0200, Orjan Friberg wrote: > Andrew Cagney wrote: > > > >Consider the effect of modifying the $sp. > > > >While it might in theory be possible to implement some sort of > >complicated look-aside cache schema, in reality there is zero return on > >investment. Since recovery from the flush can't be slower than recovery > >from single-step, and single step is way way more critical, we should > >focus on single step. > > Ok, I'm convinced that the whole frame cache should be discarded, except > I must be missing something since calling flush_cached_frames doesn't > refetch the current set of registers (like calling registers_changed does). Yes, I think you need to do both. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer