From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8791 invoked by alias); 23 Jun 2003 22:35:08 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26994 invoked from network); 23 Jun 2003 22:28:25 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 23 Jun 2003 22:28:25 -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 h5NMSPH24111 for ; Mon, 23 Jun 2003 18:28:25 -0400 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 h5NMSOI16321 for ; Mon, 23 Jun 2003 18:28:24 -0400 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5NMSOd01669 for ; Mon, 23 Jun 2003 18:28:24 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id A76D72CA39; Mon, 23 Jun 2003 18:35:12 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16119.32928.499250.823983@localhost.redhat.com> Date: Mon, 23 Jun 2003 22:35:00 -0000 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/i386newframe] Add asssertion to CFI frame unwinder In-Reply-To: <200305291602.h4TG2HVr031955@elgar.kettenis.dyndns.org> References: <200305291602.h4TG2HVr031955@elgar.kettenis.dyndns.org> X-SW-Source: 2003-06/txt/msg00744.txt.bz2 Mark Kettenis writes: > This assertion can unfortunately be triggered. Don't know how to fix > the bug yet, but this makes clear there is a bug. > > Mark > > Index: ChangeLog > from Mark Kettenis > > * dwarf-frame.c (dwarf2_frame_cache): Assert that we have a FDE. > > Index: dwarf-frame.c > =================================================================== > RCS file: /cvs/src/src/gdb/Attic/dwarf-frame.c,v > retrieving revision 1.1.2.6 > diff -u -p -r1.1.2.6 dwarf-frame.c > --- dwarf-frame.c 23 May 2003 20:18:32 -0000 1.1.2.6 > +++ dwarf-frame.c 29 May 2003 15:47:12 -0000 > @@ -483,6 +483,7 @@ dwarf2_frame_cache (struct frame_info *n > > /* Find the correct FDE. */ > fde = dwarf2_frame_find_fde (&fs->pc); > + gdb_assert (fde != NULL); > > /* Extract any interesting information from the CIE. */ > fs->data_align = fde->cie->data_alignment_factor; I am running into this in several cases running the testsuite on x86. For instance for me callfuncs.exp just doesn't do anything, because the assertion is triggered at startup. what exactly is happening? thanks elena