From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24908 invoked by alias); 20 Feb 2003 16:28:43 -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 24901 invoked from network); 20 Feb 2003 16:28:43 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 20 Feb 2003 16:28:43 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9D80C2ED1; Thu, 20 Feb 2003 11:33:25 -0500 (EST) Message-ID: <3E550355.6070605@redhat.com> Date: Thu, 20 Feb 2003 16:28:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.0.2) Gecko/20030217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb@sources.redhat.com Subject: Re: frame_register_unwind(): "frame != NULL" assertion failure 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00418.txt.bz2 > > 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.