From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20638 invoked by alias); 25 Feb 2003 22:41:42 -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 20631 invoked from network); 25 Feb 2003 22:41:42 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 25 Feb 2003 22:41:42 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id ED6B82A9C; Tue, 25 Feb 2003 17:43:57 -0500 (EST) Message-ID: <3E5BF1AD.4010005@redhat.com> Date: Tue, 25 Feb 2003 22:41: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: Michal Ludvig Cc: GDB Patches Subject: Re: [patch/rfc] Add a sentinel frame References: <3E305670.3020700@redhat.com> <3E48378E.6090007@suse.cz> <3E492953.8010001@redhat.com> <3E52173B.1030800@suse.cz> <3E538770.6070209@redhat.com> <3E5B98D8.3030002@suse.cz> <3E5BAB7D.8090801@redhat.com> <3E5BD957.9010605@suse.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00668.txt.bz2 Michael, A shallow analysis of the problem is that, when the PC is in the frame dummy, read_fp() (i.e., cfi_read_fp()) returns NULL (an invalid frame). The new code is checking for this and bailing out. Disabling the test doesn't exactly improve things: (gdb) finish Inside legacy frame Run till exit from #0 marker2 (a=99) at /home/cagney/PENDING/2003-02-24-prev-checks/src/gdb/testsuite/gdb.base/break.c:49 cfi_read_fp -> 0x0000000000000000 Can't pop dummy frame! (gdb) since the search for a NULL frame in the dummy_frame_stack will fail (see dummy_frame_pop). Andrew