From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 9E0mElGbYGpCwCQAWB0awg (envelope-from ) for ; Wed, 22 Jul 2026 06:28:33 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=cvUEs58T; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 132D51E09E; Wed, 22 Jul 2026 06:28:33 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [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 4DF5E1E099 for ; Wed, 22 Jul 2026 06:28:30 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BD65F4BA23D7 for ; Wed, 22 Jul 2026 10:28:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD65F4BA23D7 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=cvUEs58T Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by sourceware.org (Postfix) with ESMTPS id C63864BA2E05 for ; Wed, 22 Jul 2026 10:27:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C63864BA2E05 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 C63864BA2E05 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=198.175.65.9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784716080; cv=none; b=G7AVcEdUdwX8nTRog0+qIxMpixdb2foMKP7BuzeySWt3SOiNh8ddiU/eBfndvg4uMNKPTy5/Rf2Kan2B8jUugL6pOt649yNu+09xgFCTbvX866v9BuSu/fTE2bjYL+eto+OJExfsG099ShsrPLulGvsxlCbBr9Xy2QUZkmIfcW0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784716080; c=relaxed/simple; bh=CTRfyX/SBODvj1KiT9xSEGn76Tq0vmo0IizyxkuUl48=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=Jdj6YGXCpeFxVLBqm03nQZ3P0epxZdBJbbVo3VK5eXGwojU/bKVFpl8boh++pTmuu+LhPTrNEEBqvyN9QnMSy5+Gw6bB6OAylKe7KzYE8w/veKipZMy907H6HYzFrCyYYjKVva6wGBlBJeXkia7q9nfZG/WdDiww/bpTIckjvrs= ARC-Authentication-Results: i=1; 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=cvUEs58T DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C63864BA2E05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1784716080; x=1816252080; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CTRfyX/SBODvj1KiT9xSEGn76Tq0vmo0IizyxkuUl48=; b=cvUEs58Tfkxut9ByCBjVz9HUqI/GWwuRXFQskMd2G4BKYAPgPJ+ITqbv HjlHOfX99X4QH3WptbQPScHGxa0W30hosLfu3UGUxjorq9a5OchUcblOx eF0hovSDHCrgcrlX34YLs0HWb5ZXUwIriwljQ2qqUr7Y4td1LeFWOWwFn 0YzfMkGt5gfAPzvTOrtaREZcCUbcIMXGT8mzyVYcZdjPRDwBvJcZzdDlp tmuHcOhDwMRgwKWxxA9WdwC84HH7efW5G4dtX/YTaLsUOrfwOPJRAxy0K 3sD6tGHUEdJjZXh9GiH0FCDGYDMeAxX4VuQG4RWx8YNm1DQ6vAuYz4YCL Q==; X-CSE-ConnectionGUID: oS/+U/eqRz+iC9fCaqjEwA== X-CSE-MsgGUID: euXhgPwYRKi+8Xe/jgFizw== X-IronPort-AV: E=McAfee;i="6800,10657,11853"; a="108137962" X-IronPort-AV: E=Sophos;i="6.25,178,1779174000"; d="scan'208";a="108137962" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2026 03:27:59 -0700 X-CSE-ConnectionGUID: uNSLkakzRLCat8plckX28Q== X-CSE-MsgGUID: TJGT2lAkRdGu9fHA60QjgA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,178,1779174000"; d="scan'208";a="262341681" Received: from dut1629dg2frd.igk.intel.com (HELO localhost) ([10.211.178.246]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2026 03:27:57 -0700 From: Klaus Gerlicher To: gdb-patches@sourceware.org Cc: tom@tromey.com, guinevere@redhat.com, eliz@gnu.org Subject: [PING PATCH v8 0/6] gdb: refine scheduler locking settings Date: Wed, 22 Jul 2026 10:27:40 +0000 Message-Id: <20260722102746.131536-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-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 From: "Gerlicher, Klaus" 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/20260325134328.550990-1-klaus.gerlicher@intel.com/ 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 V7: ----------------- * Rebased onto current master. 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/ Patch 6/6: Reviewed-By: Eli Zaretskii (documentation parts) https://inbox.sourceware.org/gdb-patches/86ldx8t6ex.fsf@gnu.org/ 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, 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