From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@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 14:53:00 -0000 Message-ID: Subject: AIX DWARF debugging sections From: David Edelsohn To: Tristan Gingold , Joel Brobecker Cc: GDB Patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-09/txt/msg00582.txt.bz2 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. 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 }, { NULL, NULL }, /* eh_frame */