[PING PATCH v8 0/6] gdb: refine scheduler locking settings

Klaus Gerlicher <[email protected]> Wed, 22 Jul 2026 10:27:40 +0000
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
From: "Gerlicher, Klaus" <[email protected]>

Hi,

kindly pinging on this long-standing patch series to refine scheduler locking
settings in GDB.

This is version 8 of the patch series to refine scheduler locking
settings in GDB.

Previous versions:
  V7: https://inbox.sourceware.org/gdb-patches/[email protected]/
  V6: https://inbox.sourceware.org/gdb-patches/[email protected]/
  V5: https://inbox.sourceware.org/gdb-patches/[email protected]/
  V4: https://inbox.sourceware.org/gdb-patches/[email protected]/
  V3: https://inbox.sourceware.org/gdb-patches/[email protected]/

Changes since V7:
-----------------

  * Rebased onto current master.

Approval status:
  Patch 1/6: Approved-By: Tom Tromey <[email protected]>
             https://inbox.sourceware.org/gdb-patches/[email protected]/

  Patch 2/6: (unchanged from V5, no review comments)
             https://inbox.sourceware.org/gdb-patches/[email protected]/

  Patch 3/6: Approved-By: Tom Tromey <[email protected]>
             https://inbox.sourceware.org/gdb-patches/[email protected]/

  Patch 4/6: (unchanged from V5, no review comments)
             https://inbox.sourceware.org/gdb-patches/[email protected]/

  Patch 5/6: Reviewed-By: Eli Zaretskii <[email protected]> (documentation parts)
             https://inbox.sourceware.org/gdb-patches/[email protected]/

  Patch 6/6: Reviewed-By: Eli Zaretskii <[email protected]> (documentation parts)
             https://inbox.sourceware.org/gdb-patches/[email protected]/

  Overall series: Reviewed-By: Guinevere Larsen <[email protected]>
                  https://inbox.sourceware.org/gdb-patches/[email protected]/

Thanks to all reviewers for their thorough feedback throughout the
v3, v4, v5, v6, and v7 iterations.

Best regards,
Klaus

Natalia Saiapova (6):
  gdb: use schedlock_applies in user_visible_resume_ptid.
  gdb, cli: remove left-over code from "set_logging_on".
  gdb, cli: pass the argument of a set command to its callback.
  gdb: change the internal representation of scheduler locking.
  gdb: refine commands to control scheduler locking.
  gdb: add eval option to lock the scheduler during infcalls.

 gdb/NEWS                                      |  26 ++
 gdb/cli/cli-logging.c                         |   5 -
 gdb/cli/cli-setshow.c                         |   2 +-
 gdb/doc/gdb.texinfo                           |  77 +++-
 gdb/infrun.c                                  | 414 +++++++++++++++---
 .../gdb.mi/user-selected-context-sync.exp     |  23 +-
 .../gdb.threads/hand-call-in-threads.exp      |  12 +-
 .../multiple-successive-infcall.exp           |   7 +-
 gdb/testsuite/gdb.threads/schedlock.exp       | 105 ++++-
 gdb/testsuite/lib/gdb.exp                     |  71 ++-
 10 files changed, 621 insertions(+), 121 deletions(-)

--
2.34.1

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