From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28765 invoked by alias); 4 Mar 2003 15:59:45 -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 28750 invoked from network); 4 Mar 2003 15:59:45 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 4 Mar 2003 15:59:45 -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 h24FxjQ20101 for ; Tue, 4 Mar 2003 10:59:45 -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 h24FxjV09792; Tue, 4 Mar 2003 10:59:45 -0500 Received: from localhost.localdomain (vpn50-20.rdu.redhat.com [172.16.50.20]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h24FxiC29589; Tue, 4 Mar 2003 10:59:44 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h24Fxcd22448; Tue, 4 Mar 2003 08:59:38 -0700 Date: Tue, 04 Mar 2003 15:59:00 -0000 From: Kevin Buettner Message-Id: <1030304155938.ZM22447@localhost.localdomain> In-Reply-To: Johan Rydberg "mips-big-elf craches" (Mar 4, 4:00pm) References: <20030304160043.A24263@cockmaster> To: Johan Rydberg , gdb@sources.redhat.com Subject: Re: mips-big-elf craches MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-03/txt/msg00082.txt.bz2 On Mar 4, 4:00pm, Johan Rydberg wrote: > I get the following crash when I try to run against my own developed > simulator (http://www.nongnu.org/guss). It seems that the "get_next_frame" > fn returns NULL for some reason. > [...] > GNU gdb 2003-02-13-cvs I think this problem has been fixed by the following change: 2003-02-20 Kevin Buettner * frame.c (generic_unwind_get_saved_register): Make non-static. * frame.h (generic_unwind_get_saved_register): Declare. * mips-tdep.c (read_next_frame_reg): Fetch register from current regcache when frame is NULL. (mips_init_extra_frame_info): Pass NULL explicitly for parameter that must be NULL. (mips_get_saved_register): Call generic_unwind_get_saved_register() instead of frame_register_unwind(). Update your sources, rebuild, and try again... Kevin