From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16303 invoked by alias); 17 Feb 2003 23:21:22 -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 16296 invoked from network); 17 Feb 2003 23:21:21 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 17 Feb 2003 23:21:21 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h1HNLLK13383 for ; Mon, 17 Feb 2003 18:21:21 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1HNLKa26196; Mon, 17 Feb 2003 18:21:20 -0500 Received: from localhost.localdomain (vpn50-1.rdu.redhat.com [172.16.50.1]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1HNLJs05585; Mon, 17 Feb 2003 18:21:19 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h1HNLEw00571; Mon, 17 Feb 2003 16:21:14 -0700 Date: Mon, 17 Feb 2003 23:21:00 -0000 From: Kevin Buettner Message-Id: <1030217232113.ZM570@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: frame_register_unwind(): "frame != NULL" assertion failure" (Feb 17, 4:37pm) References: <1030213212349.ZM2427@localhost.localdomain> <20030213212904.GA14115@nevyn.them.org> <1030213213526.ZM2489@localhost.localdomain> <1030213214819.ZM2541@localhost.localdomain> <1030213232706.ZM8198@localhost.localdomain> <3E4D042F.3060102@redhat.com> <20030214151451.GC30416@nevyn.them.org> <3E5101BA.5000504@redhat.com> To: Andrew Cagney , Daniel Jacobowitz , Kevin Buettner Subject: Re: frame_register_unwind(): "frame != NULL" assertion failure Cc: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-02/txt/msg00289.txt.bz2 On Feb 17, 4:37pm, Andrew Cagney wrote: > /* Use proc_desc calculated in frame_chain */ > proc_desc = > get_next_frame (fci) > ? cached_proc_desc > : find_proc_desc (get_frame_pc (fci), get_next_frame (fci), 1); > > can you please change the above to be: > > : find_proc_desc (get_frame_pc (fci), NULL, 1); > > (with a comment) and modify read_next_frame_reg() to, when NULL, pull a > value from the register cache. I will do this, but I really do not think it's the best solution. (If we're going to be checking for frame == NULL, then why did you introduce sentinel frames in the first place?) Kevin