From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22257 invoked by alias); 5 Mar 2004 14:52:46 -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 22247 invoked from network); 5 Mar 2004 14:52:42 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 5 Mar 2004 14:52:42 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D67E02B92; Fri, 5 Mar 2004 09:52:37 -0500 (EST) Message-ID: <40489435.7080708@gnu.org> Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [rfc] trad-frame change References: <40460B28.3000504@gnu.org> <20040303164933.GB18032@nevyn.them.org> <4046252F.7020504@gnu.org> <20040303185319.GA19699@nevyn.them.org> <40463E1C.1060502@gnu.org> In-Reply-To: <40463E1C.1060502@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00102.txt.bz2 Message-ID: <20040319000900.3MOsKQd24gtK9UJ7KcDJrO3ay3yVV4l2RAQ5ASrwCRk@z> >> What would _really_ be nice would be a way to pass the kind from the >> sniffer (which really just calls PC_IN_SIGTRAMP) to the frame creation >> code... not have to read inferior memory to figure out which it is, >> twice. > > > I'll think about that, I may need to change the unwinder object anyway. > > Just remember that it is the number of unique addresses accessed (0 vs 1 vs 2 ...) and not the number of times each address is accessed that is going to be important - multiple accesses to a single address can be handled with a cache. Just FYI, having poked it a bit more I've decided to leave this sit until after 6.1 ships - its too invasive an interface change. Andrew