From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32141 invoked by alias); 6 Apr 2004 21:56:49 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31958 invoked from network); 6 Apr 2004 21:56:44 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 6 Apr 2004 21:56:44 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i36Lui0g031298 for ; Tue, 6 Apr 2004 17:56:44 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i36Luhj05957; Tue, 6 Apr 2004 17:56:44 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DBA822B9C; Tue, 6 Apr 2004 17:56:46 -0400 (EDT) Message-ID: <4073279E.2030807@gnu.org> Date: Tue, 06 Apr 2004 21:56: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: Andrew Cagney Cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: [mips] When to use a proc_desc References: <20040325040322.GA12885@nevyn.them.org> <4062FCC4.5080102@gnu.org> In-Reply-To: <4062FCC4.5080102@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00045.txt.bz2 > I'll need to study this further, however, look at HP/UX. > > That unwinder checks its equivalent PDR against the prologue, ticking each register off as it is encountered. I think the long answer is the same -- look at HP/UX. Fetch the PDR and then compare it against the instructions up-to $pc to see how many of those stores actually occured. Andrew