From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68444 invoked by alias); 2 Oct 2015 22:35:22 -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 68433 invoked by uid 89); 2 Oct 2015 22:35:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-io0-f182.google.com Received: from mail-io0-f182.google.com (HELO mail-io0-f182.google.com) (209.85.223.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 02 Oct 2015 22:35:20 +0000 Received: by iow1 with SMTP id 1so98264800iow.1 for ; Fri, 02 Oct 2015 15:35:19 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.107.160.194 with SMTP id j185mr18010468ioe.37.1443825318825; Fri, 02 Oct 2015 15:35:18 -0700 (PDT) Received: by 10.36.133.5 with HTTP; Fri, 2 Oct 2015 15:35:18 -0700 (PDT) In-Reply-To: <20151002213227.GA3602@adacore.com> References: <20151002213227.GA3602@adacore.com> Date: Fri, 02 Oct 2015 22:35:00 -0000 Message-ID: Subject: Re: AIX DWARF debugging sections From: David Edelsohn To: Joel Brobecker Cc: Tristan Gingold , GDB Patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-10/txt/msg00027.txt.bz2 On Fri, Oct 2, 2015 at 5:32 PM, Joel Brobecker wrote: >> > On 25 Sep 2015, at 16:53, David Edelsohn wrote: >> > >> > 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? >> >> AFAIK, .debug_pubtypes are not read by gdb. >> >> > I'm not sure if >> > AIX .dwamac is macinfo or macro or both. >> > >> > Thanks, David >> >> Your patch looks ok to me, but should be approved by >> a global maintainer. > > It looks odd to me that two entries would have the same name. > Wouldn't it cause GDB to decode the same section both as .debug_macinfo > and .debug_macro? Because the AIX section does not use the standard name, I am unsure which it represents. The documentation only states "dwmac", which could expand to either name. Thanks, David