From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id A5A293858D37 for ; Sat, 26 Aug 2023 06:49:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A5A293858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZn6Y-0008WH-AH; Sat, 26 Aug 2023 02:49:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ikOWW0rV1LWDR0inrCh9iqIs0w1fJuejCu4PiSoZBrs=; b=btnCfK/WsSDv OH4908Jx+V+xvH6PxyIt9lzhIWuIUCrjKwjzYOEH4NKghiARY6g909EuG6fAqowWER7XycL4lWE0b h64/WhBYZsmJGEZi6FkiT/IpSCIf2wbIqjl0BY34mJNhxO55rGF/P3wthenHU4OVa90dbRgZ3ZaQc ay7XVtXp+BRSaG+jeIWsSUw+nWTuERAI2vKb0xkRHhX2H9pelBF2MELwsvFWdF5g+kSl5VTZSzCNH 1wJiYtctC8Bzvnf1c5oAT3oFijENS+OMWfpmnSY3l7Nyty1O3aVlCIP9zyzlS9/YGRDjjPdqbhTeG gMPoAh3NPVjejfSVEykY8w==; Date: Sat, 26 Aug 2023 09:49:36 +0300 Message-Id: <83fs46mh6n.fsf@gnu.org> From: Eli Zaretskii To: Andrew Burgess Cc: gdb-patches@sourceware.org In-Reply-To: (message from Andrew Burgess on Fri, 25 Aug 2023 16:34:41 +0100) Subject: Re: [PATCHv2 08/10] gdb: remote filesystem can be local to GDB in some cases References: X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > From: Andrew Burgess > Cc: Andrew Burgess , > Eli Zaretskii > Date: Fri, 25 Aug 2023 16:34:41 +0100 > > diff --git a/gdb/NEWS b/gdb/NEWS > index 2b1f265f5b8..36ca93398f6 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -113,6 +113,13 @@ > subsequent runs of the inferior will use the same arguments as the > first run. > > +* For remote targets that support the qMachineId packet, if GDB > + believes that the remote target is on the same host as GDB itself, > + and that GDB can access the same files as the remote target, then > + GDB will take advantage of this to access files directly, rather > + than copying them from the remote target. This behaviour can be > + disable using the new command 'set remote local-filesystem off'. ^^^^^^^ "disabled" > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index 6b417ab85d8..bc41d3dbedd 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo This part is okay. Thanks. Reviewed-By: Eli Zaretskii