From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67453 invoked by alias); 13 May 2019 17:54:31 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 67410 invoked by uid 48); 13 May 2019 17:54:27 -0000 From: "tromey at sourceware dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/24550] New: eu-readelf does not know about DW_AT_GNU_bias Date: Mon, 13 May 2019 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-q2/txt/msg00078.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24550 Bug ID: 24550 Summary: eu-readelf does not know about DW_AT_GNU_bias Product: elfutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- The Ada compiler can emit DW_AT_GNU_bias in some situations. Here is "tt.adb": with Text_IO; use Text_IO; procedure Tt is type Small is range -7 .. -4; for Small'Size use 2; Y : Small :=3D -5; type Repeat_Count_T is range 1 .. 2 ** 6; for Repeat_Count_T'Size use 6; X : Repeat_Count_T :=3D 64; begin Put_Line (X'Image); Put_Line (Y'Image); end Tt; Compile with gcc -fgnat-encodings=3Dminimal -g -c tt.adb gdb's dwarf2.def says: /* Biased integer extension. See https://gcc.gnu.org/wiki/DW_AT_GNU_bias . */ DW_TAG (DW_AT_GNU_bias, 0x2305) --=20 You are receiving this mail because: You are on the CC list for the bug.