From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4C53738618BD; Wed, 2 Dec 2020 14:19:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C53738618BD From: "tromey at sourceware dot org" To: dwz@sourceware.org Subject: [Bug default/26987] GCC 11 Ada binaries contain unknown tags Date: Wed, 02 Dec 2020 14:19:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 14:19:19 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26987 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #10 from Tom Tromey --- (In reply to Mark Wielaard from comment #9) > So this is encoded as DW_FORM_block1, which is not a valid form for > DW_AT_upper_bound or DW_AT_lower_bound. According the the DWARF spec only > constant, exprloc, reference classes are. My understanding is that this is a small extension to DWARF, because... > In DWARF5 there is DW_FORM_data16, which could be used as a constant to > express really big constants. ... there's no other way to do this in earlier versions of DWARF. I think if you use -gdwarf-5, GNAT will switch to DW_FORM_data16. I have a gdb patch to deal with this for fixed-point (not yet submitted). I haven't made gdb handle the bounds case, because gdb generally doesn't handle 128-bit types there, so it would be a much larger change. --=20 You are receiving this mail because: You are on the CC list for the bug.=