From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 280BF3858D28; Tue, 1 Aug 2023 19:08:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 280BF3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690916913; bh=Y43LVXbQlMr/H+fCUo6ZZYTnrYC26tkTdxSLICDTMKs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=o30aSzy9eOQQGSHBsF3QBUeNee3eZJDHzc+VwQAUQJmiI1T0exaQTs84aMieux6vG 5YbC9F6Snt98CTKCCMcNnJbitk6bVMQHBy+qZ18cbdVWIQYXFyAoLvN6Kl5wevXbs3 oh9hr+lbBksjRS4bcIVEnK/8SCkZjrvQ6wAQh/A4= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug dap/30676] modules event includes non-path "path" Date: Tue, 01 Aug 2023 19:08:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: dap X-Bugzilla-Version: HEAD 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: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 14.1 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=3D30676 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D7b4a5561e4bf= c251f35c3bdf14f5a780cd3695a8 commit 7b4a5561e4bfc251f35c3bdf14f5a780cd3695a8 Author: Tom Tromey Date: Tue Jul 25 10:55:14 2023 -0600 Don't supply DAP 'path' for non-file shared libraries The DAP 'module' event may include a 'path' component. I noticed that this is supplied even when the module in question does not come from a file. This patch only emits this field when the objfile corresponds to a real file. No test case, because I wasn't sure how to write a portable one. However, it's clear from gdb.log on Linux: {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": "system-supplied DSO at 0x7ffff7fc4000", "name": "system-supplied DS= O at 0x7ffff7fc4000"}}, "seq": 21} Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30676 --=20 You are receiving this mail because: You are on the CC list for the bug.=