From patchwork Fri Sep 25 14:53:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Edelsohn X-Patchwork-Id: 8853 Received: (qmail 118792 invoked by alias); 25 Sep 2015 14:53:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 118702 invoked by uid 89); 25 Sep 2015 14:53:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_40, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-io0-f174.google.com Received: from mail-io0-f174.google.com (HELO mail-io0-f174.google.com) (209.85.223.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 25 Sep 2015 14:53:40 +0000 Received: by iofb144 with SMTP id b144so113547171iof.1 for ; Fri, 25 Sep 2015 07:53:38 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.107.160.194 with SMTP id j185mr6448979ioe.37.1443192818058; Fri, 25 Sep 2015 07:53:38 -0700 (PDT) Received: by 10.36.133.5 with HTTP; Fri, 25 Sep 2015 07:53:38 -0700 (PDT) Date: Fri, 25 Sep 2015 10:53:38 -0400 Message-ID: Subject: AIX DWARF debugging sections From: David Edelsohn To: Tristan Gingold , Joel Brobecker Cc: GDB Patches Initial AIX support for DWARF did not include location lists, debug frame, and macinfo. Support was added in a later update. xcoffread defines most of the sections -- including some that were included later and omitting some that were included in the initial implementation. Does anyone know why pbtyp and mac are not define? I'm not sure if AIX .dwamac is macinfo or macro or both. Thanks, David * xcoffread (dwrf2_xcoff_names): Add .dwmac and .dwpbtyp. { NULL, NULL }, /* eh_frame */ diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 0d49751..998ca8f 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -159,11 +159,11 @@ static const struct dwarf2_debug_sections dwarf2_xcoff_nam es = { { ".dwabrev", NULL }, { ".dwline", NULL }, { ".dwloc", NULL }, - { NULL, NULL }, /* debug_macinfo */ - { NULL, NULL }, /* debug_macro */ + { ".dwmac", NULL }, + { ".dwmac", NULL }, { ".dwstr", NULL }, { ".dwrnges", NULL }, - { NULL, NULL }, /* debug_types */ + { ".dwpbtyp", NULL }, { NULL, NULL }, /* debug_addr */ { ".dwframe", NULL },