From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9187 invoked by alias); 13 Oct 2015 16:45:29 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8651 invoked by uid 89); 13 Oct 2015 16:45:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 13 Oct 2015 16:45:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A9688295D9; Tue, 13 Oct 2015 12:45:25 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZOSKXB-SvIFd; Tue, 13 Oct 2015 12:45:25 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 760B428D10; Tue, 13 Oct 2015 12:45:25 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 9E36242BBA; Tue, 13 Oct 2015 09:45:23 -0700 (PDT) Date: Tue, 13 Oct 2015 16:45:00 -0000 From: Joel Brobecker To: David Edelsohn Cc: Doug Evans , Tristan Gingold , GDB Patches Subject: Re: AIX DWARF debugging sections Message-ID: <20151013164523.GG3341@adacore.com> References: <20151010000433.GB3341@adacore.com> <20151012155021.GC3341@adacore.com> <20151012183438.GE3341@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-10/txt/msg00183.txt.bz2 > For full sentences, we might as well document it more completely. Good idea. The patch looks good to me. > diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c > index 0d49751..e4af37c 100644 > --- a/gdb/xcoffread.c > +++ b/gdb/xcoffread.c > @@ -159,11 +159,14 @@ static const struct dwarf2_debug_sections dwarf2_xcoff_nam > es = { > { ".dwabrev", NULL }, > { ".dwline", NULL }, > { ".dwloc", NULL }, > - { NULL, NULL }, /* debug_macinfo */ > - { NULL, NULL }, /* debug_macro */ > + /* AIX XCOFF defines one, named DWARF section for macro debug information. > + XLC does not generate debug_macinfo for DWARF4 and below. > + The section is assigned to debug_macro for DWARF5 and above. */ > + { NULL, NULL }, > + { ".dwmac", NULL }, > { ".dwstr", NULL }, > { ".dwrnges", NULL }, > - { NULL, NULL }, /* debug_types */ > + { ".dwpbtyp", NULL }, > { NULL, NULL }, /* debug_addr */ > { ".dwframe", NULL }, > { NULL, NULL }, /* eh_frame */ -- Joel