From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9473 invoked by alias); 6 Oct 2015 20:00:02 -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 9413 invoked by uid 89); 6 Oct 2015 20:00:01 -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-f177.google.com Received: from mail-io0-f177.google.com (HELO mail-io0-f177.google.com) (209.85.223.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 06 Oct 2015 20:00:00 +0000 Received: by iow1 with SMTP id 1so198268932iow.1 for ; Tue, 06 Oct 2015 12:59:58 -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=JRwrw/rITh+fKpWmKE8LPj1T+Qksi7uuvDXyvPs5ZE8=; b=ZsCeZ6d3RDVfj64YYTmwj5n7AjmTLJB5aGP8O5D3qPnD8vKVOgi2PwaibTIdRZKB40 QCyBt5UDMomrBrAd+rM4JdeCd04X+yVn0o5/sBkUm2LUhg+j2jIWz7t6650J0MJAWnZ4 xg3IOx9O7bEUy1z+S8Gk0TT8+Oi6rTNkFxH7MiaMWInfs2Zv5JflKiViDM10LtTD/t40 /pqViTb6lCwJDT0i1XrK6yinRYfDIb0IvEGVnYD5eL3s8aBTOrT2hW9DtLluPi3dW0Vm htZ/lGtm7ASt4newShgKVirid8dJTdnVL7Z5SRNAremJiYYMubDin6DJc3vNH0G5LViX qAgg== X-Gm-Message-State: ALoCoQl6Jp+vGxptl56FbnOcaZLL6PXI3rXDktbLYUzH7ZzC8TjkAwtkLw3tKoS+ae1UUhixtO/F X-Received: by 10.107.156.14 with SMTP id f14mr37289737ioe.32.1444161597992; Tue, 06 Oct 2015 12:59:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.134.131 with HTTP; Tue, 6 Oct 2015 12:59:18 -0700 (PDT) In-Reply-To: References: <20151002213227.GA3602@adacore.com> <20151006165157.GA3341@adacore.com> From: Doug Evans Date: Tue, 06 Oct 2015 20:00: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/msg00059.txt.bz2 On Tue, Oct 6, 2015 at 11:24 AM, David Edelsohn wrote: > On Tue, Oct 6, 2015 at 12:51 PM, Joel Brobecker wrote: >>> > 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. >> >> That's what I have been trying to do, but I don't see any evidence >> that GCC emits it, or that binutils handles it. So the answer must >> lie somewhere on the system side. David? > > The official answer from IBM XLC is the section is for both > .debug_macinfo and .debug_macro > > For DWARF4 and below, the dwmac section corresponds to .debug_macinfo. > For DWARF5 and above, the dwmac section corresponds to .debug_macro. > > XLC currently does not generate any macro debugging information for DWARF4. Huh. Let's make sure this is documented in the code.