From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28981 invoked by alias); 22 Jun 2003 21:25:52 -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 25468 invoked from network); 22 Jun 2003 21:24:04 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (62.163.169.212) by sources.redhat.com with SMTP; 22 Jun 2003 21:24:04 -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 h5MLO0Y4002324; Sun, 22 Jun 2003 23:24:00 +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 h5MLNxLk018260; Sun, 22 Jun 2003 23:23:59 +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 h5MLNxQ3018257; Sun, 22 Jun 2003 23:23:59 +0200 (CEST) Date: Sun, 22 Jun 2003 21:25:00 -0000 Message-Id: <200306222123.h5MLNxQ3018257@elgar.kettenis.dyndns.org> From: Mark Kettenis To: drow@mvista.com CC: gdb@sources.redhat.com In-reply-to: <20030622165235.GA30333@nevyn.them.org> (message from Daniel Jacobowitz on Sun, 22 Jun 2003 12:52:35 -0400) Subject: Re: dwarf2-frame.c and sym_private References: <20030622165235.GA30333@nevyn.them.org> X-SW-Source: 2003-06/txt/msg00432.txt.bz2 Date: Sun, 22 Jun 2003 12:52:35 -0400 From: Daniel Jacobowitz The dwarf2-frame code blithely assumes that objfile->sym_private is always an FDE description. But nothing stops the file from having non-DWARF-2 debugging information, or no debugging information at all... would you mind if I switched it to use a new dwarf2-specific member of the objfile structure instead? I wouldn't mind, although I'm not sure whether adding debug format-specific members to the objfile structure is the right approach. Assuming that an object file won't contain unwind info in different formats, would adding a member for unwind info to the objfile structure be an option. Mark