From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8341 invoked by alias); 2 Aug 2006 19:46:10 -0000 Received: (qmail 8317 invoked by uid 22791); 2 Aug 2006 19:46:09 -0000 X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Aug 2006 19:46:06 +0000 Received: from hiauly1.hia.nrc.ca (hiauly1.hia.nrc.ca [127.0.0.1] (may be forged)) by hiauly1.hia.nrc.ca (8.13.6/8.13.6) with ESMTP id k72JjUpZ003029; Wed, 2 Aug 2006 15:45:30 -0400 (EDT) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.13.6/8.13.6/Submit) id k72JjTmc003026; Wed, 2 Aug 2006 15:45:29 -0400 (EDT) Message-Id: <200608021945.k72JjTmc003026@hiauly1.hia.nrc.ca> Subject: Re: [Fwd: Is anyone using the HP compilers on PA-RISC with FSF GDB?] (fwd) To: drow@false.org (Daniel Jacobowitz) Date: Wed, 02 Aug 2006 19:46:00 -0000 From: "John David Anglin" Cc: gdb@sources.redhat.com In-Reply-To: <20060802192156.GA27488@nevyn.them.org> from "Daniel Jacobowitz" at Aug 2, 2006 03:21:56 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00008.txt.bz2 > > > There have been requests for ELF debug support. The main issue as > > > far as I can see is the lack of named sections and where to put stuff. > > Do you mean DWARF-2 here? If so, I completely agree. It seems like Oops, yes DWARF-2. > SOM has some named sections - at least we're managing to get objdump to > tell me there's a GDB_STRINGS section - so I don't know what the > problem is. Yes, SOM has named spaces and subspaces. However, we backed away from using named sections in the SOM port a few years ago because there were issues with them in collect2's processing. Section symbols and name truncation, when using HP nm, caused problems with constructors/destructors. There's no problem in generating named subspaces to hold the various flavors of DWARF-2 debug info. However, there is some dependence on the presence of named section support in GCC's DWARF-2 output code as I recall. That's the only issue that needs a little thinking. Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)