Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v3 00/11] Add AlwaysNonStop remote protocol extension
@ 2026-07-06 12:11 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
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Mohamed Bouhaouel @ 2026-07-06 12:11 UTC (permalink / raw)
  To: gdb-patches; +Cc: stephan.rohr, markus.t.metzger, pedro, aburgess

From: "Bouhaouel, Mohamed" <mohamed.bouhaouel@intel.com>

Hi,

This series introduces the AlwaysNonStop extension, enabling remote
stubs to declare mandatory non-stop mode operation.  When advertised,
GDB defaults to non-stop mode and rejects attempts to disable it.

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 V2:

Instead of changing the default behavior by flipping target-non-stop
auto mode from 'off' to 'on', V3 introduces a new extension
'AlwaysNonStop' that allows remote stubs to explicitly declare they must
operate in non-stop mode.

Link to previous versions:

  * 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                                      |  8 ++
 gdb/doc/gdb.texinfo                           | 30 +++++++-
 gdb/python/lib/gdb/dap/events.py              | 15 +++-
 gdb/record-full.c                             |  3 +-
 gdb/remote.c                                  | 74 +++++++++++++++----
 .../gdb.base/attach-deleted-exec.exp          | 59 ++++++++-------
 .../gdb.server/monitor-exit-quit.exp          | 21 +++++-
 .../gdb.threads/step-over-process-exit.exp    |  6 ++
 gdbserver/server.cc                           | 30 +++++++-
 gdbserver/target.cc                           |  6 ++
 gdbserver/target.h                            |  6 ++
 11 files changed, 210 insertions(+), 48 deletions(-)

-- 
2.43.0

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-07-14  9:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 12:11 [PATCH v3 00/11] Add AlwaysNonStop remote protocol extension 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox