From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D57D23858D28; Sat, 22 Jul 2023 23:49:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D57D23858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690069771; bh=LZ60QO375T3zY4IdJlAx7NYgQWgoATizN8y7b8GzJ6o=; h=From:To:Subject:Date:From; b=CBP9VE63k0mhtXV05Waf6ncpS6v5dBxfpu8WcZuxQyElUoTQiDEkbHp+d+PwliV/6 Lxm1rZMn/TEh6B1QmCVbd6GOa2Le92Vhc0FFpyhWUe3kIoHPNXu/VtltLMVnS9kC+z 0uJ7pVlcwbpJFMdAoVf8LOMivtHmSjY/zjit/IsA= From: "vmakaev at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30665] New: DAP Server: Relative paths in stacktrace response Date: Sat, 22 Jul 2023 23:49:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: vmakaev at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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=3D30665 Bug ID: 30665 Summary: DAP Server: Relative paths in stacktrace response Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vmakaev at gmail dot com Target Milestone: --- Created attachment 14996 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14996&action=3Ded= it Log files and main.rs When debugging with newly added DAP server my VSCode shows me and error=20 "Could not load source 'main.rs': 'source'." The same binary debugged with LLDB DAP works correctly. Most likely the iss= ue is due to some responses from DAP having relative path instead of absolute = path Attaching logs from debugging session with gdb and lldb and also a main.rs program. (to compile I used "rustc -g main.rs") --=20 You are receiving this mail because: You are on the CC list for the bug.=