Message ID | 20241022150221.2125847-1-stephan.rohr@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 server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A71CA3858D33 for <patchwork@sourceware.org>; Tue, 22 Oct 2024 15:03:07 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by sourceware.org (Postfix) with ESMTPS id B64FE3858D39 for <gdb-patches@sourceware.org>; Tue, 22 Oct 2024 15:02:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B64FE3858D39 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 B64FE3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729609354; cv=none; b=WlXan1hCqz8gGPEzERlxFKAS1IxYc4E7nF272bBngGmsIP8nWE4tMq+cpPywHEqgY6WpEjCLIvBEur1c77CT4UaBBpL4ftjO1NyuAIRi+L1HRUw+nWV6Sa4nyAS8+NPN5uDw3GAu5tXiYMsPJ15LdPaEfOFd0qqW6OBB4qurRvk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729609354; c=relaxed/simple; bh=eLJHtwEtPTNy+J8vdBqDsI8Eo/UVNp2wYkr2vRnOSDM=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=vCthYDe5spo+amJiRScanOpDnHF9D6BUYTwrqeFucOi4YO2RrmDwjBTyvx2rJC4K3Iy5A9l1kzfYjYZUy+RbwfRxlsQhf/S2WNmBh13eGxmoF7HCwbzuFNk8bzOuvf9TSXFwZ7s0kWCSvnFooac8g17WNi8T2s+fr1DxDfDDjNQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729609348; x=1761145348; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eLJHtwEtPTNy+J8vdBqDsI8Eo/UVNp2wYkr2vRnOSDM=; b=ZDEt70eOUCPOPBHW2MYzZqgfMTqhyA3BLcCwEJVMXMi3ultpkOzRmBiX yDCHjAQSGfzv7qIknEvYKn39roE2OjTU4T2vdXi33VZ92nUrbW7FU9qlB 8U40Y8RBYiwKJHiuEUgNCGiSLbSzq1amRwl7CcV/xWhBMJO8e6PL30wZg 8yieQS9bvOV6+2dN7py6/gZtU1DhkTN0vpTSuxDbEMQuRNpAOIb7nKjWQ c/+gbMGFvqGSqWGtlgjywxrrbMkz438ByXYYxbthczqnPsN+PH2NuTNRE xaELYHJ4dcgr4IpoDpdweXyh1Px1sPnANfGk+x38IpM0oVh4dVuc50dFu Q==; X-CSE-ConnectionGUID: z6rN0zJBQ2W7PLVJLdv+dw== X-CSE-MsgGUID: Hw8p2jmkTYKqK8vnZy8Www== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="46615014" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="46615014" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2024 08:02:27 -0700 X-CSE-ConnectionGUID: 8EAvjrY7QEKiF4Xtd/TF6A== X-CSE-MsgGUID: MSelDXF3TjWylnUEBuikEg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="84510150" Received: from 984fee0031af.jf.intel.com (HELO localhost) ([10.165.54.65]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2024 08:02:26 -0700 From: Stephan Rohr <stephan.rohr@intel.com> To: gdb-patches@sourceware.org Cc: simark@simark.ca, aburgess@redhat.com Subject: [PATCH v4 0/2] gdbserver: add thread map Date: Tue, 22 Oct 2024 08:02:19 -0700 Message-Id: <20241022150221.2125847-1-stephan.rohr@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.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.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 |
gdbserver: add thread map
|
|
Message
Rohr, Stephan
Oct. 22, 2024, 3:02 p.m. UTC
Hi all, this is version 4 of my patch that extends the 'process_info' struct with a process specific thread map for faster lookup of threads. You can find v3 of the patch at https://sourceware.org/pipermail/gdb-patches/2024-October/212481.html You can find Simon's feedback on v3 at https://sourceware.org/pipermail/gdb-patches/2024-October/212490.html https://sourceware.org/pipermail/gdb-patches/2024-October/212492.html https://sourceware.org/pipermail/gdb-patches/2024-October/212493.html You can find v2 of the patch at https://sourceware.org/pipermail/gdb-patches/2024-September/211509.html Simon's feedback on v2: https://sourceware.org/pipermail/gdb-patches/2024-October/212207.html My reply on v2: https://sourceware.org/pipermail/gdb-patches/2024-October/212471.html Changes from v3: * Merged the patch introducing gdb::function_view. * Fixed the review findings from Simon. I appreciate your feedback. Thanks Stephan Stephan Rohr (2): gdbserver: introduce 'owning_introdusive_list' type gdbserver: add process specific thread list and map gdbserver/gdbthread.h | 28 ++++-- gdbserver/inferiors.cc | 222 ++++++++++++++++++++++++++--------------- gdbserver/inferiors.h | 46 +++++++-- gdbserver/server.cc | 68 ++++++++++--- 4 files changed, 257 insertions(+), 107 deletions(-)