From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6035 invoked by alias); 7 Mar 2003 22:13:28 -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 6027 invoked from network); 7 Mar 2003 22:13:28 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 7 Mar 2003 22:13:28 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D918A2A9C; Fri, 7 Mar 2003 17:13:24 -0500 (EST) Message-ID: <3E691984.4030207@redhat.com> Date: Fri, 07 Mar 2003 22:13:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis , cagney@redhat.com Cc: gdb@sources.redhat.com Subject: Re: Unwinding dummy frames on the i386 References: <200303072059.h27KxgX1029877@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00138.txt.bz2 > For now I've worked around this by having my own do-nothing > i386_save_dummy_frame_tos(), and having i386_unwind_dummy_id() return > contents of the (saved) frame pointer register for the frame's base. > Is there a better way to solve this? Can i386_save_dummy_frame_tos() save the `frame pointer register' that the unwind_dummy_id() method later returns? While the TOS in save_dummy_frame_tos() might have once stood for top-of-stack, there isn't anything saying that it has to be the stack top. A better name for tha functioin's successor would be save_dummy_frame_id() Andrew