From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127962 invoked by alias); 6 Oct 2015 00:30:36 -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 127943 invoked by uid 89); 6 Oct 2015 00:30:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-io0-f176.google.com Received: from mail-io0-f176.google.com (HELO mail-io0-f176.google.com) (209.85.223.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 06 Oct 2015 00:30:33 +0000 Received: by iow1 with SMTP id 1so168219544iow.1 for ; Mon, 05 Oct 2015 17:30:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=RsNqc8EwAiYVxxGJSWvQUwxH4GmLuSHpr6jJpJ6jomo=; b=PQvLnhB8iii+OxTQzlJcFkA30Rns3auBzS6pzW8jVjblRLqRH5+LcwyQAB4H+9WO3g RP55enh+vh/f7qrmLpSkO3bgn40cwIofMffzU6jfSJcW0jTXqxtPxDWvuVTVWhR2+9yi k3oAclOiEYArSjh5wGYUtkGKMxg5msJK1Z797wGQWo/x+TGhPasW5wDSuLAKiCLYw/9X 4PSOxnQZvCRoo4qDh21Ly6mLeU/rdhFvxS9zuClmgg1YrXOPM9vNVsmL8r+frmpwa9LW /Chh4vDVL4Oy8EPZmv8chkzDzMjYT98gQ8Ec8hid/7uVelCzm9ICHjQ+ccdVnWGiMgMi 1sjQ== X-Gm-Message-State: ALoCoQk7kYzvoy8RR4+A95TzDm3XU7lfpvahCd8ufb8NExRwuz6ylRjXLQbdxGLoklu2zQHUyqZp X-Received: by 10.107.6.139 with SMTP id f11mr30699792ioi.61.1444091431727; Mon, 05 Oct 2015 17:30:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.134.131 with HTTP; Mon, 5 Oct 2015 17:29:51 -0700 (PDT) In-Reply-To: References: <20151002213227.GA3602@adacore.com> From: Doug Evans Date: Tue, 06 Oct 2015 00:30:00 -0000 Message-ID: Subject: Re: AIX DWARF debugging sections To: David Edelsohn Cc: Joel Brobecker , Tristan Gingold , GDB Patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00048.txt.bz2 On Fri, Oct 2, 2015 at 3:35 PM, David Edelsohn wrote: > 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 Yeah, I think we need to figure out which one it is.