From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25060 invoked by alias); 16 Apr 2004 12:51:04 -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 25040 invoked from network); 16 Apr 2004 12:51:02 -0000 Received: from unknown (HELO miranda.se.axis.com) (212.209.10.220) by sources.redhat.com with SMTP; 16 Apr 2004 12:51:02 -0000 Received: from axis.com (ironmaiden.se.axis.com [10.13.8.120]) by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id i3GCoRUm021489; Fri, 16 Apr 2004 14:50:27 +0200 Message-ID: <407FD693.2080804@axis.com> Date: Fri, 16 Apr 2004 12:51:00 -0000 From: Orjan Friberg Organization: Axis Communications User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: Andrew Cagney CC: Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: Multiplexed registers and invalidating the register cache References: <407D242B.109@axis.com> <20040414144607.GA5700@nevyn.them.org> <407E67EA.80701@axis.com> <407E70FD.7060709@axis.com> <407EAA4B.7000500@gnu.org> In-Reply-To: <407EAA4B.7000500@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00349.txt.bz2 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). -- Orjan Friberg Axis Communications