From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id L6bEK0PPA2aO6BcAWB0awg (envelope-from ) for ; Wed, 27 Mar 2024 03:48:19 -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=SxKHxMIi; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9C5151E0C0; Wed, 27 Mar 2024 03:48:19 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 6EAFC1E030 for ; Wed, 27 Mar 2024 03:48:17 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C44EA385E458 for ; Wed, 27 Mar 2024 07:48:16 +0000 (GMT) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by sourceware.org (Postfix) with ESMTPS id 67207385843A for ; Wed, 27 Mar 2024 07:47:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 67207385843A 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 67207385843A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.17 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711525673; cv=none; b=jnwHksSyJ5pLi0DNYvictIFzc7F7ZyjHVjfdcYzeXT7yPdxZTTQJW7dAkrZszOYaWMsgz/u1rLgFSOnQK8ZZevmZvtlWR8orhdfF7MjK3Wvw9KxXf2zHYXw3Q5CF2g+9w6ztYEJ2jAjpcRDvxBmtO+5r7wojLF1gIcyA7kOz1gA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711525673; c=relaxed/simple; bh=fIGLAUVA3gcKg59LqL72X3TzryLDrZRwKz84VEGXOT8=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=BHDZxqYIySYbQ4IzIqS7ICr41Si2iUZHNE9Nr6Qke4DuiiaReZNT3kZ2im+bRNm7w7l3YHyozzlKFzTN8shmZFyH0UrWwP10rpMJiZ4+1e+ar/z8NmQHTAvFHkp0Mgu2yeW/xgX0BFW+hcP6X/FNJUp6C/oIbxQLC0wCLhy8JJI= 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=1711525672; x=1743061672; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fIGLAUVA3gcKg59LqL72X3TzryLDrZRwKz84VEGXOT8=; b=SxKHxMIitCkSjRCVx5bZTPqhCVC/tFurMrJMXLKTN0/inYVPZsJGAI6Q YARpwq9N5JgX6EY+a+pp5nSFY7udjjjsOBy7lBZrsnJRkfqixIFt+Fv61 NEI2VNp5szuN3GH+86GnCo1xVucULY3aCMEg5CqZt2zvc+JyLseUrko6k IVNv0IIgAp+sT9dt6UvxH5GI7xQxvF4Og2tfQ2CxiNZ0GMR42cSe4JrAm JHWavWrxwIBm6+vljCsAihRp+LUhgaoX5GyebtkqTWBVNKn3b57LYHLnD 3t+4CS0JHYfsZLL21RqYiXGTEeIKMruYMxwWTlejffEYisXFLcNcdorTP w==; X-CSE-ConnectionGUID: cHik92FQRFGl9IwZehd+RQ== X-CSE-MsgGUID: QOzF8XnNRGGAyl9LZTFWnA== X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="6473638" X-IronPort-AV: E=Sophos;i="6.07,158,1708416000"; d="scan'208";a="6473638" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 00:47:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,158,1708416000"; d="scan'208";a="39324606" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 00:47:49 -0700 From: "Schimpe, Christina" To: gdb-patches@sourceware.org Cc: christina.schimpe@intel.com Subject: [PATCH 0/3] Add amd64 LAM watchpoint support Date: Wed, 27 Mar 2024 07:47:36 +0000 Message-Id: <20240327074739.2969623-1-christina.schimpe@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.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Hi all, This is a series to add watchpoint support with Liner Address Masking (LAM) on amd64. I am looking forward to your feedback! Regards, Christina Christina Schimpe (3): gdb: Make tagged pointer support configurable. LAM: Enable tagged pointer support for watchpoints. LAM: Support kernel space debugging gdb/NEWS | 2 + gdb/aarch64-linux-nat.c | 3 +- gdb/aarch64-linux-tdep.c | 14 ++--- gdb/aarch64-tdep.c | 12 +++-- gdb/amd64-linux-tdep.c | 80 ++++++++++++++++++++++++++++ gdb/breakpoint.c | 4 +- gdb/gdbarch-gen.h | 50 +++++++++++++---- gdb/gdbarch.c | 66 +++++++++++++++++++---- gdb/gdbarch_components.py | 54 ++++++++++++++++--- gdb/target.c | 4 +- gdb/testsuite/gdb.arch/amd64-lam.c | 49 +++++++++++++++++ gdb/testsuite/gdb.arch/amd64-lam.exp | 45 ++++++++++++++++ gdb/testsuite/lib/gdb.exp | 62 +++++++++++++++++++++ 13 files changed, 401 insertions(+), 44 deletions(-) create mode 100755 gdb/testsuite/gdb.arch/amd64-lam.c create mode 100644 gdb/testsuite/gdb.arch/amd64-lam.exp -- 2.34.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928