From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 762E2385703C; Wed, 19 Jul 2023 07:16:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 762E2385703C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689750964; bh=q1yONMUyoL/+McUhveihtbBuA3IZ/8tOzeZEARO0WzM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wDFsLvOYgLizHmqJuqSk+boUvyZ63KmwbcLkyMBZRm7068k34NRHumBY+1/HIeGJE 2Q3uK8Hw5jH8V7fADau8sMF6GVmzJDMLTxe28MKl/pqQOtkufQtaQtB9V9sA9lJ13O 3YskSGf+TbVtvqADSS+5BWCh7ilqKkK5uzd8sgxA= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30650] [gdb, lto] FAIL: gdb.gdb/python-helper.exp: print all_bfds Date: Wed, 19 Jul 2023 07:16:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab 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: --- 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30650 --- Comment #5 from Tom de Vries --- In terms of debug info, we're dealing with a forward inter-CU reference to = an abstract origin: ... <0><14b64e8>: Abbrev Number: 1 (DW_TAG_compile_unit) ... <1><14fc06f>: Abbrev Number: 45 (DW_TAG_variable) <14fc070> DW_AT_abstract_origin: <0x5355817> <14fc074> DW_AT_location : (DW_OP_addr: 1fd8be8) ... <0><530411b>: Abbrev Number: 235 (DW_TAG_compile_unit) ... <1><5355817>: Abbrev Number: 95 (DW_TAG_variable) <5355818> DW_AT_name : all_bfds <535581c> DW_AT_decl_file : 186 <535581d> DW_AT_decl_line : 58 <535581e> DW_AT_decl_column : 15 <535581f> DW_AT_type : <0x5344aaa> ... [ FWIW, the address used in the DW_AT_location attribute looks correct: ... $ nm ./gdb-x | grep all_bfds 0000000001fd8be8 b _ZL8all_bfds ... ] --=20 You are receiving this mail because: You are on the CC list for the bug.=