From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22142 invoked by alias); 29 May 2003 16:02:19 -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 22107 invoked from network); 29 May 2003 16:02:18 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.212) by sources.redhat.com with SMTP; 29 May 2003 16:02:18 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p2/8.12.5) with ESMTP id h4TG2Hk9002771 for ; Thu, 29 May 2003 18:02:17 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6) with ESMTP id h4TG2HZt031958 for ; Thu, 29 May 2003 18:02:17 +0200 (CEST) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p2/8.12.6/Submit) id h4TG2HVr031955; Thu, 29 May 2003 18:02:17 +0200 (CEST) Date: Thu, 29 May 2003 16:02:00 -0000 Message-Id: <200305291602.h4TG2HVr031955@elgar.kettenis.dyndns.org> From: Mark Kettenis To: gdb-patches@sources.redhat.com Subject: [PATCH/i386newframe] Add asssertion to CFI frame unwinder X-SW-Source: 2003-05/txt/msg00544.txt.bz2 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;