From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11745 invoked by alias); 8 May 2003 14:05:58 -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 11738 invoked from network); 8 May 2003 14:05:57 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 8 May 2003 14:05:57 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DEE352B2F; Thu, 8 May 2003 10:05:55 -0400 (EDT) Message-ID: <3EBA6443.9020308@redhat.com> Date: Thu, 08 May 2003 14:05: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: Kevin Buettner Cc: gdb@sources.redhat.com Subject: Re: frame.c assertion failure References: <1030507222547.ZM32134@localhost.localdomain> <1030507234012.ZM557@localhost.localdomain> <3EB99EB1.8090205@redhat.com> <3EB9A330.50601@redhat.com> <1030508054934.ZM4408@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00107.txt.bz2 > This works. Here's the patch: > > * frame.c (get_frame_type): Don't attempt to lazily initialize > frame's unwinder for legacy frames. Don't forget a comment :-) > Index: frame.c > =================================================================== > RCS file: /cvs/src/src/gdb/frame.c,v > retrieving revision 1.111 > diff -u -p -r1.111 frame.c > --- frame.c 5 May 2003 18:33:10 -0000 1.111 > +++ frame.c 8 May 2003 05:45:52 -0000 > @@ -2069,7 +2069,7 @@ get_frame_type (struct frame_info *frame > if (!DEPRECATED_USE_GENERIC_DUMMY_FRAMES > && deprecated_frame_in_dummy (frame)) > return DUMMY_FRAME; > - if (frame->unwind == NULL) > + if (frame->unwind == NULL && !legacy_frame_p (current_gdbarch)) > { > /* Initialize the frame's unwinder because it is that which > provides the frame's type. */ > > Okay? yup. Andrew