| Message ID | 20260325134328.550990-1-klaus.gerlicher@intel.com |
|---|---|
| Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id D05F94BBC0A5 for <patchwork@sourceware.org>; Wed, 25 Mar 2026 13:44:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D05F94BBC0A5 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=FuI2GbcV X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by sourceware.org (Postfix) with ESMTPS id 3C4734BB3BCF for <gdb-patches@sourceware.org>; Wed, 25 Mar 2026 13:43:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3C4734BB3BCF Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3C4734BB3BCF Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.13 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774446221; cv=none; b=O1iaMSlzNUlN/OmsHXsTgBFuJrX0bNjjc3T50A4YTfSwNOoZNSCoHcAKSZcNlA3NSRtLdzNAe0J25yMieqI+vuBHJhRY9BfrfpyWHZY8l26PW25BJK9eG/ub1HlTRFaMdI1il2WIBofru3atKJWeK0QYUtG2D966k2Svbx3N7PI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774446221; c=relaxed/simple; bh=sYCAu0WwB6hTR8/1CA/paI/ufYf6pbexBWJggA8tgVo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=ucenYfdfvBsXG46MbfgbCs7zuhTuPQRyBGSbOUsszmRL8fqXKKU4CXAtqcQl4i4LfIukI8ZfcvDwll8/ogGRUuDfDByPTzpY3hW+QeXqZp/K/Uvn/fd1yROrmIsZjkqujFUGPUyWHr3mGzQcNT3VihyEg9kugigt5Sj6sJnsRg0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C4734BB3BCF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1774446221; x=1805982221; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=sYCAu0WwB6hTR8/1CA/paI/ufYf6pbexBWJggA8tgVo=; b=FuI2GbcVo1D1F+n7ZqSoxufZy/XBjxYlI5bWBc60gKXeyRN/BzLV5IXF aj09e3zvmszahN9COWRV77wTwnnUBwzQDxUEL+Xn8BMhu7HPDeXWKC33E XpdjH6gHAFtj+o0vUELVI7SyX1K+A0mtozW0JHdxA/LbyCz5as0Mp/s2z ownjlFeXyhzMJcume1neZBi90y9u+psVuBY/X9RlGlDxXT5VrYWaAV4W2 yuFSqttIXoYaLIwiQGMhgxk05xMd/WHC2RiOOFivhaBoM7Ni4bwBnrLKi /WyPSB74O4xNMPTUoMHthYm3AIs3hMLDDpioNDaIJUHcleicqqRQGkMCd g==; X-CSE-ConnectionGUID: jaqVVhs3TVKZtpwMJJZfNg== X-CSE-MsgGUID: torQQ1sDTK+a1gVIE0eVMg== X-IronPort-AV: E=McAfee;i="6800,10657,11739"; a="78080374" X-IronPort-AV: E=Sophos;i="6.23,140,1770624000"; d="scan'208";a="78080374" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2026 06:43:40 -0700 X-CSE-ConnectionGUID: sfNaTtY+Q9KBfxNplI/dRg== X-CSE-MsgGUID: czromzgSQZ6p+gGlKV20Hg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,140,1770624000"; d="scan'208";a="223887675" Received: from dut1465dg2mrb.igk.intel.com (HELO localhost) ([10.211.180.13]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2026 06:43:40 -0700 From: Klaus Gerlicher <klaus.gerlicher@intel.com> To: gdb-patches@sourceware.org Subject: [PATCH v7 0/6] gdb: refine scheduler locking settings Date: Wed, 25 Mar 2026 13:43:22 +0000 Message-Id: <20260325134328.550990-1-klaus.gerlicher@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_NONE, TXREP, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
gdb: refine scheduler locking settings
|
|
Message
Klaus Gerlicher
March 25, 2026, 1:43 p.m. UTC
Hi,
This is version 7 of the patch series to refine scheduler locking
settings in GDB.
Previous versions:
V6: https://inbox.sourceware.org/gdb-patches/20260204133753.547281-1-klaus.gerlicher@intel.com/
V5: https://inbox.sourceware.org/gdb-patches/20260129095918.2216661-1-klaus.gerlicher@intel.com/
V4: https://inbox.sourceware.org/gdb-patches/20251205135851.2581702-1-klaus.gerlicher@intel.com/
V3: https://inbox.sourceware.org/gdb-patches/20250811132321.486911-1-klaus.gerlicher@intel.com/
Changes since V6:
-----------------
* Fixed commit message of patch 1/6:
- Removed accidentally included leftover text at end of message.
* Fixed commit message of patch 2/6:
- Removed accidentally included "Approved-By: Tom Tromey" trailer.
This patch was not reviewed by Tom; only patches 1/6 and 3/6 were.
* Fixed code in infrun.c (patch 6/6):
- show_schedlock_option: Changed type string for "eval" from
"expression evaluation" to "function calls", consistent with
the documentation and NEWS entries.
- show_schedlock_option: Changed format string from "during the %s"
to "during %s", matching the output shown in the commit message
and documentation (e.g., "during normal execution").
Approval status:
Patch 1/6: Approved-By: Tom Tromey <tom@tromey.com>
https://inbox.sourceware.org/gdb-patches/87a4xu9733.fsf@tromey.com/
Patch 2/6: (unchanged from V5, no review comments)
https://inbox.sourceware.org/gdb-patches/20260129095918.2216661-3-klaus.gerlicher@intel.com/
Patch 3/6: Approved-By: Tom Tromey <tom@tromey.com>
https://inbox.sourceware.org/gdb-patches/875x8i970d.fsf@tromey.com/
Patch 4/6: (unchanged from V5, no review comments)
https://inbox.sourceware.org/gdb-patches/20260129095918.2216661-5-klaus.gerlicher@intel.com/
Patch 5/6: Reviewed-By: Eli Zaretskii <eliz@gnu.org> (documentation parts)
https://inbox.sourceware.org/gdb-patches/86ttb4t6kz.fsf@gnu.org/
Patch 6/6: Reviewed-By: Eli Zaretskii <eliz@gnu.org> (documentation parts)
https://inbox.sourceware.org/gdb-patches/86ldx8t6ex.fsf@gnu.org/
Changes: code fixes in show_schedlock_option
Overall series: Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
https://inbox.sourceware.org/gdb-patches/bc6fd851-29c1-436e-a833-a53c0cf5a18d@redhat.com/
Thanks to all reviewers for their thorough feedback throughout the
v3, v4, v5, and v6 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(-)