From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by sourceware.org (Postfix) with ESMTPS id E6E963858D29 for ; Mon, 17 Jun 2024 09:24:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E6E963858D29 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 E6E963858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.15 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718616268; cv=none; b=GAE7734TB5IxOFiF8uKUn6QulhSuFcgzJUiAz60wZhVSVs0wvzIptbSXXQARAsLigdj5yETmEpxCGPVhPW/b9b1zbkmfJ5R/mvRrVHDwVWd9khaORzQvAouIjTtBnZYU4VfyHfcdEO5JLCvbOweKu9AdWP0TBwPEeYsB1y1lEXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718616268; c=relaxed/simple; bh=6t5cSe5sl7qtcV7KeSlDtX4+3oc0p84Nkl4RyCXJ3s8=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=OYZbfQ+vlwJ1aOoqYkBHUgFwZktLa1oDa0BwHflmrVdLfjtV9BBUu89sL8mxypiU6VxcYSwWqPRyQN6ua+IIg3QuHcr8OzszCJEERdFMnleuTsAVHLAGLIudfLGF7gmXTuv6Kofjmh9SF4/LX12D6MR1h42LdVE80yIZ7fXCdWc= 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=1718616267; x=1750152267; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=6t5cSe5sl7qtcV7KeSlDtX4+3oc0p84Nkl4RyCXJ3s8=; b=dSfvCdcSTXvUGy8y4YWxoAdYSgDOWh4GexHcklTZv5WvkZH7+Nfv+dJp 4uXuCGgaela9oyEbGHchrZe/9g+CE4AIDzetpVu4IlF46LIg/7MvCKYxC iqp/QfcyrzIx4MrGErTmsmndTskxzIm+KnwGmIQkD3kYU6VAAATQZdzTj hgFH1+MYcLafAtoXiNapi8UrVDRFmK4eKUkUxpqiaqsiee3O0bW3DDCHU dNyP55bOae+GmiQcxisaP7hoLJbGIP5JKhpkrcXA99qVzagKFR70jovzF 16G7gTcRpCEKoIIBdQDAlvmxCLCkKOsC3zaBiz7BrQ/CPJskNCuu/opwE w==; X-CSE-ConnectionGUID: w0p0yvnbRFaw8kDm0UjPhg== X-CSE-MsgGUID: GyK3yL/nROC66J4TswULxg== X-IronPort-AV: E=McAfee;i="6700,10204,11105"; a="19219258" X-IronPort-AV: E=Sophos;i="6.08,244,1712646000"; d="scan'208";a="19219258" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2024 02:24:26 -0700 X-CSE-ConnectionGUID: x8adHAQ9TUurTADfj6iFrw== X-CSE-MsgGUID: CuBiifIkS36/23xQ0qf3XA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,244,1712646000"; d="scan'208";a="46071186" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2024 02:24:25 -0700 From: "Schimpe, Christina" To: gdb-patches@sourceware.org Cc: luis.machado@arm.com, felix.willgerodt@intel.com Subject: [PATCH v3 0/2] Add amd64 LAM watchpoint support Date: Mon, 17 Jun 2024 09:24:06 +0000 Message-Id: <20240617092408.2496027-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,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi all, this is my v3 of the series "Add amd64 LAM watchpoint support". It implements the latest feedback of Felix and Louis. The NEWS part has already been approved by Eli. Also I decided to drop the patch for LAM kernel-space support for now due to the feedback and opens we have here: https://sourceware.org/pipermail/gdb-patches/2024-May/209253.html Any more comments and feedback on this topic would be highly appreciated! Changes since V2: * Change parsing of /proc//status file and add error handling. * Dropped third patch: "LAM: Support kernel space debugging". * Added missing function comment. v2 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2024-May/209420.html Best Regards Christina Christina Schimpe (2): gdb: Make tagged pointer support configurable. LAM: Enable tagged pointer support for watchpoints. gdb/NEWS | 2 + gdb/aarch64-linux-nat.c | 2 +- gdb/aarch64-linux-tdep.c | 13 +++--- gdb/aarch64-tdep.c | 17 ++++--- gdb/aarch64-tdep.h | 6 +++ gdb/amd64-linux-tdep.c | 66 ++++++++++++++++++++++++++++ gdb/breakpoint.c | 5 ++- gdb/gdbarch-gen.h | 49 ++++++++++++++++----- gdb/gdbarch.c | 66 +++++++++++++++++++++++----- gdb/gdbarch_components.py | 53 ++++++++++++++++++---- gdb/target.c | 3 +- gdb/testsuite/gdb.arch/amd64-lam.c | 49 +++++++++++++++++++++ gdb/testsuite/gdb.arch/amd64-lam.exp | 46 +++++++++++++++++++ gdb/testsuite/lib/gdb.exp | 63 ++++++++++++++++++++++++++ 14 files changed, 394 insertions(+), 46 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: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928