From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6EE75385840F; Mon, 18 Sep 2023 13:08:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6EE75385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695042538; bh=GnF5jaj9YTHB4yAF3PSZvvWMotwYCL/oTlSN6KCf5Zs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=a1BJm3A9wsLTb4eCexEaj9+ERCw1kN7tFhcfyVEhqOVDas1p0ckiNjKKdhJOfyh7E iYij1Idd00KpdOREx4QFT1nwTzV3enFaloS7F/ei3udCVEyoq3eO3r5ORkz7ja8dOx MVq0vFCSma3uEa9zePKCHbgbfzIvn5bIv3OgFIao= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30866] [gdb/symtab] symbolic links to debuginfo not followed when debugging from outside container Date: Mon, 18 Sep 2023 13:08:58 +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: enhancement 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=3D30866 --- Comment #1 from Tom de Vries --- In commit 07bc701d031 ("Look for build-id-based separate debug files under = the sysroot") we find: ... + Don't do it if the sysroot is the target system ("target:"). It + could work in theory, but the lrealpath in build_id_to_debug_bfd_1 + only works with local paths. */ ... so I think this is a known issue. AFAIU we need an lrealpath implementation that uses linux_nat_target::fileio_readlink. --=20 You are receiving this mail because: You are on the CC list for the bug.=