From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.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 [thread overview]
Message-ID: <bug-24550-10460@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=24550
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 := -5;
type Repeat_Count_T is range 1 .. 2 ** 6;
for Repeat_Count_T'Size use 6;
X : Repeat_Count_T := 64;
begin
Put_Line (X'Image);
Put_Line (Y'Image);
end Tt;
Compile with
gcc -fgnat-encodings=minimal -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)
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2019-05-13 17:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-13 17:54 tromey at sourceware dot org [this message]
2019-05-14 18:36 ` [Bug tools/24550] eu-readelf does not know about DW_AT_GNU_{bias,numerator,denumerator} mark at klomp dot org
2019-05-15 16:13 ` tromey at sourceware dot org
2019-05-15 18:02 ` tromey at sourceware dot org
2019-05-15 18:17 ` tromey at sourceware dot org
2019-05-16 15:17 ` mark at klomp dot org
2019-05-16 15:28 ` mark at klomp dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-24550-10460@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).