From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3746 invoked by alias); 18 Feb 2014 20:29:06 -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 3734 invoked by uid 89); 18 Feb 2014 20:29:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ve0-f171.google.com Received: from mail-ve0-f171.google.com (HELO mail-ve0-f171.google.com) (209.85.128.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 18 Feb 2014 20:29:03 +0000 Received: by mail-ve0-f171.google.com with SMTP id pa12so14017517veb.16 for ; Tue, 18 Feb 2014 12:29:01 -0800 (PST) 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:date :message-id:subject:from:to:cc:content-type; bh=t/HX/N0bx79t9+Ri6BioWkXZEWQUAjJmUY5iaGoH51s=; b=QyR3ej6OO3UNYf6Q7tHudKJniZQuTf5znK9IhT8iwl+T4W+UJVvoFnaOLCI4oR/pOk S9XiBn6GhwSMn4iY7VILQogbfDjKe7atCIPX2jhWYIzPio2GzEMwb2ITixS8WhXmsyEG ObT8/ST69ULWqqEdCuebkct0ztepA3XARTWEep/2Dj8icrBaQk/u2mWMMKZkp3+FGIDP PibRdTGgfQt2W5m5NKtcoxmzTuFTQhIN6aDh6BTk354vD/mFnZhou3aEhtSekyRCt0a3 FEJTfx1FhCPW5/6kx/ZeqizgDQvOGFv1+ziu7FUfehidUoM+oy34FyB4chtLUAsXr4FM b4Hw== X-Gm-Message-State: ALoCoQkdxUEEstP4M8nYexJGDeiIRD2Nb+BVOEr/85jFz0NTCu4X8lBqVMQt61fTM5CLjv00ozoVzwBKmppySaMWt2tiPZQiCbdDB7w5Jbkr1qvlxusiO+HLaHkTKkNSBOdR3zfoPucowsS1HjK+SBhGZgECxns3QpTTIT2rl2E8R2vpyANA35eb9T+Ymgy8vfE4+l0w/tltVf/CeOAmqe1P9I8bhPQhJA== MIME-Version: 1.0 X-Received: by 10.220.106.7 with SMTP id v7mr3552306vco.46.1392755340990; Tue, 18 Feb 2014 12:29:00 -0800 (PST) Received: by 10.52.51.234 with HTTP; Tue, 18 Feb 2014 12:29:00 -0800 (PST) In-Reply-To: <20140218184906.GB15835@adacore.com> References: <1392478818-30320-1-git-send-email-brobecker@adacore.com> <20140218133000.GA15835@adacore.com> <1392739369.21975.145.camel@bordewijk.wildebeest.org> <20140218184906.GB15835@adacore.com> Date: Tue, 18 Feb 2014 20:29:00 -0000 Message-ID: Subject: Re: [RFA/DWARF] constant class of DW_AT_high_pc is offset for version >=4 only. From: Doug Evans To: Joel Brobecker Cc: Mark Wielaard , gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00576.txt.bz2 On Tue, Feb 18, 2014 at 10:49 AM, Joel Brobecker wrote: >> Note that this might break for DWARF5. See http://dwarfstd.org/ShowIssue.php?issue=120719.1 > > Interesting. I am curious why you would handle this attribute as > an offset even when the value is encoded in address form? Would > that not help improve backward compatibility with older versions > of DWARF? I can imagine this is another space saving measure (removes a relocation, and relocations add up).