From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26422 invoked by alias); 29 Apr 2004 00:32:06 -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 26405 invoked from network); 29 Apr 2004 00:32:05 -0000 Received: from unknown (HELO rwcrmhc12.comcast.net) (216.148.227.85) by sources.redhat.com with SMTP; 29 Apr 2004 00:32:05 -0000 Received: from lucon.org ([24.6.43.109]) by comcast.net (rwcrmhc12) with ESMTP id <2004042900320401400d7l60e>; Thu, 29 Apr 2004 00:32:05 +0000 Received: by lucon.org (Postfix, from userid 1000) id 2A1A964CFF; Wed, 28 Apr 2004 17:32:04 -0700 (PDT) Date: Thu, 29 Apr 2004 00:49:00 -0000 From: "H. J. Lu" To: binutils@sources.redhat.com Cc: GDB Subject: RFC: Add DWARF 2 support for section group Message-ID: <20040429003204.GA4634@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2004-04/txt/msg00180.txt.bz2 The current ELF linker doesn't support DWARF for section group. We have /* DWARF 1.1 and DWARF 2 */ .debug_aranges 0 : { *(.debug_aranges) } .debug_pubnames 0 : { *(.debug_pubnames) } /* DWARF 2 */ .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } .debug_abbrev 0 : { *(.debug_abbrev) } .debug_line 0 : { *(.debug_line) } .debug_frame 0 : { *(.debug_frame) } .debug_str 0 : { *(.debug_str) } .debug_loc 0 : { *(.debug_loc) } .debug_macinfo 0 : { *(.debug_macinfo) } For each section, it can be in a section group. I am thinking something like. Also we need to support exception for section group. Do we need something like --- scripttempl/elf.sc.debug 2004-04-22 08:22:22.000000000 -0700 +++ scripttempl/elf.sc 2004-04-28 17:30:38.000000000 -0700 @@ -283,7 +283,7 @@ cat <