Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Bouhaouel, Mohamed" <mohamed.bouhaouel@intel.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
	"Rohr, Stephan" <stephan.rohr@intel.com>,
	"Metzger, Markus T" <markus.t.metzger@intel.com>,
	"pedro@palves.net" <pedro@palves.net>,
	"aburgess@redhat.com" <aburgess@redhat.com>
Subject: Re: [PATCH v3 11/11] gdb, gdbserver: add AlwaysNonStop remote protocol extension
Date: Tue, 14 Jul 2026 09:28:56 +0000	[thread overview]
Message-ID: <IA1PR11MB7175CF49165AD294354C2507E4F92@IA1PR11MB7175.namprd11.prod.outlook.com> (raw)
In-Reply-To: <86zf0470kf.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2439 bytes --]

Thanks, Eli, for your feedback! I have addressed your comment accordingly.

V4: https://inbox.sourceware.org/gdb-patches/20260714092128.12941-1-mohamed.bouhaouel@intel.com/


--Mohamed



________________________________
From: Eli Zaretskii <eliz@gnu.org>
Sent: Monday, July 6, 2026 2:41 PM
To: Bouhaouel, Mohamed <mohamed.bouhaouel@intel.com>
Cc: gdb-patches@sourceware.org <gdb-patches@sourceware.org>; Rohr, Stephan <stephan.rohr@intel.com>; Metzger, Markus T <markus.t.metzger@intel.com>; pedro@palves.net <pedro@palves.net>; aburgess@redhat.com <aburgess@redhat.com>
Subject: Re: [PATCH v3 11/11] gdb, gdbserver: add AlwaysNonStop remote protocol extension

> From: Mohamed Bouhaouel <mohamed.bouhaouel@intel.com>
> 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" <mohamed.bouhaouel@intel.com>
>
> 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 <eliz@gnu.org>
Intel Deutschland GmbH

Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 89 991 430, www.intel.de
Managing Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell
Chairperson of the Supervisory Board: Nicole Lau
Registered Seat: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

[-- Attachment #2: Type: text/html, Size: 5382 bytes --]

      reply	other threads:[~2026-07-14  9:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-06 12:11 [PATCH v3 00/11] Add " Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 01/11] gdb, record: fix assertion when remote target is set to non-stop Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 02/11] gdb, remote: fix assertion on reconnect to non-stop target Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 03/11] gdb, remote: fix async handler " Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 04/11] gdb, remote: fix "info program" after " Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 05/11] gdb, remote: fix crash when accessing removed events Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 06/11] gdb, remote: fix ptid matching for process-wide stop events Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 07/11] gdb, dap: fix DAP events if no thread is selected Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 08/11] gdb, testsuite: handle async close in monitor-exit-quit.exp Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 09/11] gdb, testsuite: update attach-deleted-exec.exp to handle async messages Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 10/11] gdb, testsuite: add kfails for step-over-process-exit.exp Mohamed Bouhaouel
2026-07-06 12:11 ` [PATCH v3 11/11] gdb, gdbserver: add AlwaysNonStop remote protocol extension Mohamed Bouhaouel
2026-07-06 12:41   ` Eli Zaretskii
2026-07-14  9:28     ` Bouhaouel, Mohamed [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=IA1PR11MB7175CF49165AD294354C2507E4F92@IA1PR11MB7175.namprd11.prod.outlook.com \
    --to=mohamed.bouhaouel@intel.com \
    --cc=aburgess@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=markus.t.metzger@intel.com \
    --cc=pedro@palves.net \
    --cc=stephan.rohr@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox