From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Y6gvE32iS2ogxCkAWB0awg (envelope-from ) for ; Mon, 06 Jul 2026 08:41:33 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=aJv8abxV; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 3E74E1E070; Mon, 06 Jul 2026 08:41:33 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 537201E070 for ; Mon, 06 Jul 2026 08:41:32 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E3B804BA2E07 for ; Mon, 6 Jul 2026 12:41:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3B804BA2E07 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=aJv8abxV Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 84FD14BA2E11 for ; Mon, 6 Jul 2026 12:41:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 84FD14BA2E11 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 84FD14BA2E11 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783341668; cv=none; b=qDQqPXtJVcKe3249goR75xOsvUmVwNPrlZYNfrJYyWm4q7ZaMRL20GHjk0yOFlc0u8XTygBcdXdOu7/41WqDeJc28WaynfO6KYi8iZajBcnd8WHh5xiiw2GAgjjWs5zkk24DEIeMc/8099KzX9cnkFDGIFRBVBdzNjwpuykLxIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783341668; c=relaxed/simple; bh=Nv0oXjkEiXlseKQuBOruKoNcTanRaUh+MCrhwLvuG2w=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=A1wcD19MSdMfrNRifkNfdUszKDx52I2phBawV5jFo9qrHU20UvemD57iEE5/VjC6AcWI2DNk1DmIbBEEEOBzfWKP+BylsWLkyuGImrCEnkekykO9ct7aPta2uUmm/TamPCQ/+f6PEOltHfO20MPif/tMV/R4Ud8KsULNNUTkySw= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=aJv8abxV DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84FD14BA2E11 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 1wgidH-0003Ql-BN; Mon, 06 Jul 2026 08:41:07 -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=bpK2e3N3z6qxa9Dfjbtr/RXwGuT1l8J1a1DWJDdb+ww=; b=aJv8abxV6lK0 an/YRSEOnwdYd5T/qjkSRFBadXRfB3UhYfVuQXrdfuFSLKR4Dmtw1jb6ltmkFdSBnOq+EWrHaZK5Y f3OKjQeWlDad2LvzxRUkapQi8+Ok+gdIQsX0jYmcaqRJouuqHpjQxZv57Ff70tWsZHCZlq/s4kRX8 Q4LIxeSqrL6F9y/AjLuqF1RqSojzQItlPO5Y6o6tdWIT6cwuaQs1H4o0ig1D97cYlyTT/TU3qy40o vAGxpugusPNz+1oAEjDlLbtCLpm3X9sqvfVGPpLJQOyfcF577SERf/mzUKBi3qr+YMh/Xwdm4jw6S DXcSuUoOLCTOac1PN+TjTQ==; Date: Mon, 06 Jul 2026 15:41:04 +0300 Message-Id: <86zf0470kf.fsf@gnu.org> From: Eli Zaretskii To: Mohamed Bouhaouel Cc: gdb-patches@sourceware.org, stephan.rohr@intel.com, markus.t.metzger@intel.com, pedro@palves.net, aburgess@redhat.com In-Reply-To: <20260706121124.18784-12-mohamed.bouhaouel@intel.com> (message from Mohamed Bouhaouel on Mon, 6 Jul 2026 14:11:24 +0200) Subject: Re: [PATCH v3 11/11] gdb, gdbserver: add AlwaysNonStop remote protocol extension References: <20260706121124.18784-1-mohamed.bouhaouel@intel.com> <20260706121124.18784-12-mohamed.bouhaouel@intel.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org > From: Mohamed Bouhaouel > Cc: stephan.rohr@intel.com, markus.t.metzger@intel.com, pedro@palves.net, > aburgess@redhat.com > Date: Mon, 6 Jul 2026 14:11:24 +0200 > > From: "Bouhaouel, Mohamed" > > Add a new RSP extension allowing remote stub to declare that a target > must always operate in non-stop mode. > > When a stub advertises "AlwaysNonStop+" in its qSupported response: > > * The stub automatically initializes to non-stop mode > * GDB will operate the stub in non-stop mode (with default settings) > * The stub will reject QNonStop:0 requests > * GDB errors if 'maint set target-non-stop off' is explicitly set > --- > gdb/NEWS | 8 ++++++++ > gdb/doc/gdb.texinfo | 30 +++++++++++++++++++++++++++++- > gdb/remote.c | 27 +++++++++++++++++++++++++++ > gdbserver/server.cc | 30 +++++++++++++++++++++++++++++- > gdbserver/target.cc | 6 ++++++ > gdbserver/target.h | 6 ++++++ > 6 files changed, 105 insertions(+), 2 deletions(-) Thanks. The documentation parts are okay, with the following comment: > +@item @samp{E @var{nn}} > +The request failed. This may occur if the stub requires non-stop mode > +and advertised @samp{AlwaysNonStop+} support, and GDB attempted to ^^^ Should be @value{GDBN} Reviewed-By: Eli Zaretskii