From: "Bouhaouel, Mohamed" <mohamed.bouhaouel@intel.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Cc: "Metzger, Markus T" <markus.t.metzger@intel.com>,
"Rohr, Stephan" <stephan.rohr@intel.com>,
"eliz@gnu.org" <eliz@gnu.org>,
"aburgess@redhat.com" <aburgess@redhat.com>,
"pedro@palves.net" <pedro@palves.net>
Subject: [PING 02][PATCH v4 00/11] Add AlwaysNonStop remote protocol extension
Date: Thu, 20 Aug 2026 08:54:42 +0000 [thread overview]
Message-ID: <IA1PR11MB71755891A15CD076A210F88EE4A42@IA1PR11MB7175.namprd11.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4353 bytes --]
Hi,
Kindly pinging.
Thanks,
--Mohamed
________________________________
From: Mohamed Bouhaouel
Sent: Tuesday, July 14, 2026 11:24 AM
To: gdb-patches@sourceware.org
Cc: Metzger, Markus T; Rohr, Stephan; eliz@gnu.org; aburgess@redhat.com; pedro@palves.net
Subject: Re: [PATCH v4 00/11] Add AlwaysNonStop remote protocol extension
From: "Bouhaouel, Mohamed" <mohamed.bouhaouel@intel.com>
Hi,
This series introduces the AlwaysNonStop extension, enabling remote
stubs to declare preferable non-stop mode operation. When advertised,
GDB defaults to non-stop mode. Attempts to disable it might be rejected
by the stub with a descriptive error message.
The V1/V2 approach raised 'O' and 'F' packet compatibility concerns in
non-stop mode; this extension-based design addresses those risks
(discussed with Pedro Alves).
Key change from V3:
Relaxed the extension from a must target-non-stop to a prefer
target-non-stop. This will leave it the stub to decide if switching to
all-stop mode is allowed.
Additionally, added a gdbserver cli option, --enable-packet=PACKET, to
enable specific remote protocol packets or extensions at startup. Used
to add a test for the new 'AlwaysNonStop' extension.
Link to previous versions:
* V3 link: https://inbox.sourceware.org/gdb-patches/20260706121124.18784-1-mohamed.bouhaouel@intel.com/
* V2 link: https://inbox.sourceware.org/gdb-patches/20260611153232.3011-1-mohamed.bouhaouel@intel.com/
* V1 link: https://inbox.sourceware.org/gdb-patches/20260518183316.127043-1-mohamed.bouhaouel@intel.com/
Bouhaouel, Mohamed (8):
gdb, remote: fix assertion on reconnect to non-stop target
gdb, remote: fix async handler assertion on reconnect to non-stop
target
gdb, remote: fix "info program" after reconnect to non-stop target
gdb, remote: fix crash when accessing removed events
gdb, testsuite: handle async close in monitor-exit-quit.exp
gdb, testsuite: update attach-deleted-exec.exp to handle async
messages
gdb, testsuite: add kfails for step-over-process-exit.exp
gdb, gdbserver: add AlwaysNonStop remote protocol extension
Markus Metzger (1):
gdb, record: fix assertion when remote target is set to non-stop
Rohr, Stephan (2):
gdb, remote: fix ptid matching for process-wide stop events
gdb, dap: fix DAP events if no thread is selected
gdb/NEWS | 13 +++
gdb/doc/gdb.texinfo | 46 ++++++++++-
gdb/python/lib/gdb/dap/events.py | 15 +++-
gdb/record-full.c | 3 +-
gdb/remote.c | 68 ++++++++++++----
.../gdb.base/attach-deleted-exec.exp | 59 ++++++++------
.../gdb.server/enable-always-non-stop.exp | 56 +++++++++++++
.../gdb.server/monitor-exit-quit.exp | 21 ++++-
.../gdb.threads/step-over-process-exit.exp | 6 ++
gdbserver/server.cc | 79 +++++++++++++++++--
gdbserver/server.h | 2 +
gdbserver/target.cc | 6 ++
gdbserver/target.h | 6 ++
13 files changed, 328 insertions(+), 52 deletions(-)
create mode 100644 gdb/testsuite/gdb.server/enable-always-non-stop.exp
--
2.43.0
Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 89 991 430, www.intel.de<http://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
________________________________________
Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 (89) 99143-0
www.intel.de
Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman
Chairperson of the Supervisory Board: Sonja Pierer
Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
[-- Attachment #2: Type: text/html, Size: 10709 bytes --]
reply other threads:[~2026-08-20 8:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=IA1PR11MB71755891A15CD076A210F88EE4A42@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