From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id E63B73858296 for ; Wed, 23 Aug 2023 14:32:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E63B73858296 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from r6.localdomain (82-217-174-174.cable.dynamic.v4.ziggo.nl [82.217.174.174]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id E2EF2302BBEC; Wed, 23 Aug 2023 16:32:21 +0200 (CEST) Received: by r6.localdomain (Postfix, from userid 1000) id A75823403E8; Wed, 23 Aug 2023 16:32:21 +0200 (CEST) Message-ID: Subject: Re: [PATCH 00/10] Improve GDB/gdbserver experience when using a local gdbserver From: Mark Wielaard To: Andrew Burgess , gdb-patches@sourceware.org Date: Wed, 23 Aug 2023 16:32:21 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-3027.9 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_SHORT,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Andrew, On Wed, 2023-08-16 at 16:54 +0100, Andrew Burgess wrote: > The goal of this series is to improve the user experience when using a > local (running on the same machine as GDB) gdbserver. >=20 > Outside of testing, there are still plenty of occasions when a user > can end up running gdbserver on the same machine as GDB, tools like > valgrind communicate via the remote protocol, as do many simulators > (other than those built into GDB). >=20 > This series includes the following improvements: >=20 > 1. Better handling of gdbserver's default executable and arguments. > This applies to remote gdbservers and local gdbservers, >=20 > 2. Allow sysroot 'target:' prefix to be ignored when gdbserver is > running locally to GDB, and >=20 > 3. Allow the user to skip setting 'remote exec-file' if gdbserver is > running locally to GDB. I read through most of this patch series and created a trivial qDefaultExecAndArgs for vgdb that just returns 'U' and it seems to work just fine, no more setting of remote exec-file needed \o/ https://bugs.kde.org/show_bug.cgi?id=3D473687 I have to think a bit more about qMachineId. There were also some opinions expressed in this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30541 Thanks, Mark