From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29716 invoked by alias); 20 Feb 2003 16:36:49 -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 29708 invoked from network); 20 Feb 2003 16:36:49 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 20 Feb 2003 16:36:49 -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 h1KGamN11723 for ; Thu, 20 Feb 2003 11:36:48 -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 h1KGakf31889; Thu, 20 Feb 2003 11:36:46 -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 h1KGajt28293; Thu, 20 Feb 2003 11:36:45 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h1KGaev08611; Thu, 20 Feb 2003 09:36:40 -0700 Date: Thu, 20 Feb 2003 16:36:00 -0000 From: Kevin Buettner Message-Id: <1030220163640.ZM8610@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: frame_register_unwind(): "frame != NULL" assertion failure" (Feb 20, 11:33am) 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> <1030218015926.ZM1309@localhost.localdomain> <3E52B9F2.8050405@redhat.com> <1030220161810.ZM7859@localhost.localdomain> <3E550355.6070605@redhat.com> To: Andrew Cagney 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/msg00420.txt.bz2 On Feb 20, 11:33am, Andrew Cagney wrote: > > That works. How does this look? > > > > * 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(). > > > yes, ok. Committed. Thanks for the help. Kevin