From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BC53B39C4C11; Fri, 25 Jun 2021 12:47:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC53B39C4C11 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/28004] DW_AT_ranges with form DW_FORM_sec_offset problem Date: Fri, 25 Jun 2021 12:47:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.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: 11.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2021 12:47:08 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28004 --- Comment #2 from Tom de Vries --- The warning is caused by the fact that the addr map for the CU starts at 0,= due to the DW_AT_entry_pc: ... <2><50bea>: Abbrev Number: 13 (DW_TAG_inlined_subroutine) <50beb> DW_AT_abstract_origin: <0x50b99> <50bef> DW_AT_entry_pc : 0x0 <50bf7> DW_AT_GNU_entry_view: 0 <50bf9> DW_AT_ranges : 0x3db4 <50bfd> DW_AT_call_file : 1 <50bfe> DW_AT_call_line : 64 <50bff> DW_AT_call_column : 9 <50c00> DW_AT_sibling : <0x50c26> ... Or, likewise, DW_AT_ranges: ... 0x00003db4: [DW_RLE_base_address]: 0x0000000000000000 0x00003dbd: [DW_RLE_offset_pair ]: 0x0000000000000000, 0x0000000000000007 = =3D> [0x0000000000000000, 0x0000000000000007) 0x00003dc0: [DW_RLE_offset_pair ]: 0x000000000000000b, 0x0000000000000018 = =3D> [0x000000000000000b, 0x0000000000000018) 0x00003dc3: [DW_RLE_end_of_list ] ... Perhaps this is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99654 . --=20 You are receiving this mail because: You are on the CC list for the bug.=