From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1l5kJe1Lg2l6ICgAWB0awg (envelope-from ) for ; Wed, 04 Feb 2026 08:38:53 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ZsXY8abU; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 8DA7F1E08D; Wed, 04 Feb 2026 08:38:53 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,RDNS_NONE autolearn=no autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (unknown [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A7B511E08D for ; Wed, 04 Feb 2026 08:38:51 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 238EA4BA2E0E for ; Wed, 4 Feb 2026 13:38:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 238EA4BA2E0E Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ZsXY8abU Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by sourceware.org (Postfix) with ESMTPS id 8A8824BA543C for ; Wed, 4 Feb 2026 13:38:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8A8824BA543C 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 8A8824BA543C 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=1770212297; cv=none; b=BbATG3IiMFixaVFFE9yeK9Qdi+amzAfqcOnmbXw1uJvVXemgPrrVKc3DmVyadXLpDU+7QlpujRCnJPBjeVheZrKf5QMCXhj+srx8h3gmVTFH0Nt1c/KqKMSsC9Vw6zenPxKk2hcxfJQZKHvAfal/cyFAUmvXgL/uR1Zd8GFkTeU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770212297; c=relaxed/simple; bh=H9tjt9BIA0xT1wRVPkIzdJsesN5jXvI5soPMcOrqcS0=; h=DKIM-Signature:MIME-Version:From:To:Subject:Date:Message-Id: MIME-Version; b=MsDWM8SKIsNIvGvsYmXNgkiNnWsfL+tLbAO7Fo3lxctJCKI6YZXHWo3ue28O71jQnqZEaWLyrMZizcKL5x9CDotQFaGjhR0UaMPz9Cg7hFBPvkF3t7BNojo15h01tYTXb3eo3/KfQlvAbZ6/s62aUQmjd7Ul/ggPucU/YkFhuDg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A8824BA543C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770212298; x=1801748298; h=from:to:subject:date:message-id; bh=H9tjt9BIA0xT1wRVPkIzdJsesN5jXvI5soPMcOrqcS0=; b=ZsXY8abUpPY5jzh7w2QiXZuGUGbV4Zx6fzoGED/2TVETLWEnTUz32bGQ 4X16Ae5zZtdP2tdRimkD54udN89N6I7Qc50vXUqwW9PNVa16IODG5Og1c jORa7RQEjITRMkQoGOAuGTakaFPCu1uwHXsKEfJdJMEyGSNAD5WBuudmK BST0kKyaZzcjAN1m1xGUAyvXAykgVE2hB905i6tnXjVAx0DteZRLu04Mc i3+pUhxmhSqOZ+F9llKoQm1vBrFO6awFuHm/jPTuWOUZ8IBdy1MkBa4nP tURK2I6GHpQHRZrcOoOcEXlYSgD54UnVGQA9ZZCIgpJ8ORhPiNDbwQlsH Q==; X-CSE-ConnectionGUID: B75fzU3BTd+Ljksn2Vpa9Q== X-CSE-MsgGUID: J0PofYilQ9iFfjJ0iyiJBg== X-IronPort-AV: E=McAfee;i="6800,10657,11691"; a="74001363" X-IronPort-AV: E=Sophos;i="6.21,272,1763452800"; d="scan'208";a="74001363" Content-Type: multipart/mixed; boundary="===============1934708840886674446==" MIME-Version: 1.0 Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2026 05:38:17 -0800 X-CSE-ConnectionGUID: Kd5hKyzHTJC7Tylfob2vgw== X-CSE-MsgGUID: pEjdWykNRj20k9N7LJS1Hw== X-ExtLoop1: 1 Received: from dut1865dg2frd.igk.intel.com (HELO localhost) ([10.211.179.243]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2026 05:38:15 -0800 From: Klaus Gerlicher To: gdb-patches@sourceware.org Subject: [PATCH v6 0/6] gdb: refine scheduler locking settings Date: Wed, 4 Feb 2026 13:37:47 +0000 Message-Id: <20260204133753.547281-1-klaus.gerlicher@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org --===============1934708840886674446== Content-Transfer-Encoding: 8bit Hi, This is version 6 of the patch series to refine scheduler locking settings in GDB. Previous versions: 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 V5: ----------------- Addressed V5 review feedback from Eli Zaretskii and Tom Tromey: * Fixed spacing in NEWS file (patches 5/6 and 6/6): - Added two spaces between sentences per GNU documentation standards - Line wrapping improvements for readability * Simplified documentation in gdb.texinfo (patches 5/6 and 6/6): - Added unified introduction explaining what "scheduler is locked" means before the list of options - Changed verbose descriptions to concise "Applies to..." format for continue, replay continue, replay step, and step options - Removed repetitive explanations while keeping the essential information - Example: "Applies to continuing commands during replay mode." instead of repeating the full "When @code{on}, the scheduler is locked..." explanation in each section * Fixed code formatting in infrun.c (patches 5/6 and 6/6): - Improved formatting of schedlock_applies() call in user_visible_resume_ptid() function - Changed awkward multi-line split to properly aligned parameters: else if (schedlock_applies (step, target_record_will_replay (...), tp)) * Minor documentation fixes in gdb.texinfo: - Changed "e.g.@" to "e.g.@:" for proper Texinfo formatting - Changed "will not take effect" to "may not take effect" for accuracy Approval status: Patch 1/6: Approved-By: Tom Tromey 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 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 (documentation parts) https://inbox.sourceware.org/gdb-patches/86ttb4t6kz.fsf@gnu.org/ Changes: documentation improvements, formatting fixes Patch 6/6: Reviewed-By: Eli Zaretskii (documentation parts) https://inbox.sourceware.org/gdb-patches/86ldx8t6ex.fsf@gnu.org/ Changes: documentation improvements, formatting fixes Overall series: Reviewed-By: Guinevere Larsen 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, and v5 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 --===============1934708840886674446== Content-Type: multipart/alternative; boundary="===============4388314113257143886==" MIME-Version: 1.0 Content-Disposition: inline --===============4388314113257143886== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Intel Deutschland GmbH Registered Address: Dornacher Stra=C3=9Fe 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 M=C3=BCnchen HRB 186928 --===============4388314113257143886== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
Intel Deutschland GmbH
Registered Address: Dornacher Stra=C3= =9Fe 1, 85622 Feldkirchen, Germany
Tel: +49 89 991 430, www.intel.deManaging Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell<= div>Chairperson of the Supervisory Board: Nicole Lau
Registered Seat: M= unich
Commercial Register: Amtsgericht M=C3=BCnchen HRB 186928 --===============4388314113257143886==-- --===============1934708840886674446==--