From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8DEA13858C54; Mon, 30 Oct 2023 12:12:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DEA13858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698667923; bh=IU2vgOPo6oj48256RfzXuwycAKbOeNnA4hy3Guqt9gQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xsx8JmCD5ctunjbj1BQ5XnBSGHQnYLfBjiY2z4NyqTC7qpHHt7pSDoi+IFNJfjTek KUZh3bLzbun5849YkcucXkRr/2CUGTi4FaPIxArck9ZRMxfNaci+29qO5ACh42z/53 3813aTLq/Q9jHHrqaelt6SIQr+f/BqjeQeNb2mpA= From: "christian.prochaska@genode-labs.com" To: gdb-prs@sourceware.org Subject: [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink Date: Mon, 30 Oct 2023 12:12:02 +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: minor X-Bugzilla-Who: christian.prochaska@genode-labs.com X-Bugzilla-Status: REOPENED 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=3D24143 --- Comment #4 from Christian Prochaska --- 'open_and_init_dwp_file()' tries 'objfile->original_name' before 'objfile_n= ame (objfile)', so maybe 'find_separate_debug_file_by_debuglink()' should start with 'objfile->original_name' as well? Doing that at least seems to solve t= he problem with the example case, but there are more places where 'objfile_nam= e()' is used in the same file which might need to be changed as well for a proper fix. --=20 You are receiving this mail because: You are on the CC list for the bug.=