From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E8E5F3857C5B; Tue, 8 Mar 2022 20:48:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E8E5F3857C5B From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug mi/27876] debuginfod-downloaded source files don't pass proper fullname across mi / (gdb)info source Date: Tue, 08 Mar 2022 20:48:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: amerey at redhat dot com 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 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: Tue, 08 Mar 2022 20:48:02 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27876 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Aaron Merey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D9ac37a9ce607= b790bea17c7782d73afecaaa916c commit 9ac37a9ce607b790bea17c7782d73afecaaa916c Author: Aaron Merey Date: Fri Nov 19 19:41:40 2021 -0500 PR gdb/27876 - debuginfod-downloaded source files don't pass proper fullname across mi / (gdb)info source Source files downloaded from debuginfod currently use their original DW= ARF filename as their "fullname". This causes a mismatch between the fulln= ame and the actual location of the source file in the debuginfod client cac= he. MI consumers such as VSCode will fail to open debuginfod-downloaded source files due to this. Also 'info source' will fail to include the true paths of these files. To fix this, use the debuginfod cache path as the fullname for debuginf= od- downloaded source files. --=20 You are receiving this mail because: You are on the CC list for the bug.=