From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8E9A53858D20; Mon, 12 Jun 2023 13:14:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E9A53858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686575676; bh=fnJMohdFQ4PYJt4ESYXx1oBaXSr6n6SRhcfmqtCPmAY=; h=From:To:Subject:Date:From; b=EcocxamV04f5iQekH6mWVAyWECOnHMvCHk3dDlHVFxDfUIhQ1LO0E96FNE8FvQ9bZ FdNK2RtMKDDfyyj4PleSZZghwR3mYqCuFcTfDL6XdlllOqDXEpg84OkK68sUMkF874 NIAbtknQdFqecrcYaxuOGBQkBwH9VcCrZ34kJppc= From: "mark at klomp dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30541] New: Add target valgrind Date: Mon, 12 Jun 2023 13:14:36 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone 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=3D30541 Bug ID: 30541 Summary: Add target valgrind Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: ahajkova at redhat dot com Target Milestone: --- Since valgrind 3.21.0 the valgrind gdbserver (or actually vgdb) has a --mul= ti mode that enables the extended remote protocol. This simplifies the usage of valgrind with gdb, but still leaves the user having to setup a few things t= hat gdb could do if it detects/knows the remote target is valgrind. "target valgrind" would/should do the following: - set sysroot / - set remote exec-file $binary (how to know what the local binary file is?) - target extended-remote | vgdb --multi - enable stdio/out "sharing" (currently being "eaten" by remote protocol packets using |) https://sourceware.org/bugzilla/show_bug.cgi?id=3D28916 --=20 You are receiving this mail because: You are on the CC list for the bug.=