From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AD02E3858D33; Thu, 6 Jul 2023 15:55:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD02E3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688658901; bh=kaiFKBBkoN0+XHDQrW2SysyOV0kQRspgPdmdRTuwokY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pcDpnB7yO0XdWUvJjZS1wn1s5owQXqJ1RuK7cPXekMSTzCxj1zKbvVydOzwI72Nzb 7QCSs/bHhqOGlLe8cWyIwmKC1mPm+v2A+RlHgE4sT7tVNMZiejQLfYUi2+saMYBKIE USXXlNcaM0kias9JLtXrcPRVDIbILZdv383NMjBk= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30541] Add target valgrind Date: Thu, 06 Jul 2023 15:55:01 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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=3D30541 --- Comment #10 from Tom Tromey --- (In reply to Tom Tromey from comment #9) > Maybe settings like sysroot should be per-target. > That would enable complicated multi-target debug scenarios > with multiple sysroots, and would solve this problem as well. I found this code in remote.c today: bool remote_target::filesystem_is_local () { /* Valgrind GDB presents itself as a remote target but works on the local filesystem: it does not implement remote get and users are not expected to set a sysroot. To handle this case we treat the remote filesystem as local if the sysroot is exactly TARGET_SYSROOT_PREFIX and if the stub does not support vFile:open. */ ... While this seems mildly questionable as a heuristic, at the same time it may mean that there's nothing to do here for the time being. --=20 You are receiving this mail because: You are on the CC list for the bug.=