From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9203 invoked by alias); 26 Feb 2003 01:44:54 -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 9196 invoked from network); 26 Feb 2003 01:44:54 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 26 Feb 2003 01:44:54 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9513E2A9C; Tue, 25 Feb 2003 20:47:10 -0500 (EST) Message-ID: <3E5C1C9E.8030401@redhat.com> Date: Wed, 26 Feb 2003 01:44: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: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: Identifying a dummy frame using a frame id References: <3E5C1532.4030801@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00552.txt.bz2 > - get_dummy_frame_id (target registers) > Given a target stopped on that dummy frame breakpoint, return a frame ID that exactly matches dummy_frame_id() above. Refinement #1. unwind dummy frame id (next_frame) Given the `next' frame, use frame_register_unwind() to construct the dummy frame's ID. Why? Because this also needs to work when the dummy-frame isn't innermost (the inner most frame edge case is covered by passing it the sentinel frame). (my brain hurts!) Andrew