From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20357 invoked by alias); 15 Jul 2003 15:06:45 -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 20349 invoked from network); 15 Jul 2003 15:06:45 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.250) by sources.redhat.com with SMTP; 15 Jul 2003 15:06:45 -0000 Received: from laocoon.ics.u-strasbg.fr (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (Postfix) with ESMTP id 696772C26A9; Tue, 15 Jul 2003 17:13:21 +0200 (CEST) Message-Id: <5.0.2.1.2.20030715165645.02c10d68@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr Date: Tue, 15 Jul 2003 15:06:00 -0000 To: Daniel Jacobowitz From: Pierre Muller Subject: Re: 6.0 BUG? SIGSEGV under cygwin Cc: gdb@sources.redhat.com In-Reply-To: <20030715145158.GA29718@nevyn.them.org> References: <5.0.2.1.2.20030715162155.04307e60@ics.u-strasbg.fr> <5.0.2.1.2.20030715162155.04307e60@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2003-07/txt/msg00163.txt.bz2 At 16:51 15/07/2003, Daniel Jacobowitz wrote: >On Tue, Jul 15, 2003 at 04:40:56PM +0200, Pierre Muller wrote: >> I compiled the 6.0 branch GDB >> with -gstabs+ debug option. >> >> I think that there is a problem >> in the current main and 6.0 branches, >> regarding use of sym_private file of struct objfile. >> >> This field is used to stored two incompatible >> things : >> in dwarf2-frame.c it is assumed that >> this field contains a struct dwarf2_fde pointer, >> but the same field is also used in >> coffread.c and xcoffread.c >> to store a struct coff_symfile_info pointer. > >Mark Kettenis posted a patch for this just a few days ago on >gdb-patches. Would you test it? See: > Subject: [RFC/RFA] Per-objfile data mechanism I just tested this patch and it does indeed solve the problem. Thanks Mark! This (or something equivalent) should really be incorporated into 6.0 branch... Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99