Message ID | 20240327074739.2969623-1-christina.schimpe@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 6BB7C385E839 for <patchwork@sourceware.org>; Wed, 27 Mar 2024 07:48:22 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by sourceware.org (Postfix) with ESMTPS id 67207385843A for <gdb-patches@sourceware.org>; 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" <christina.schimpe@intel.com> 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 <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 |
Add amd64 LAM watchpoint support
|
|
Message
Schimpe, Christina
March 27, 2024, 7:47 a.m. UTC
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
Comments
Kindly pinging for feedback. The NEWS part is already approved by Eli. I also got some feedback from Luis and will apply his comments regarding gdbarch function naming. But I'd wait for further feedback until I push a v2 of this series. Thanks, Christina > 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 <http://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
Kindly pinging. Regards, Christina > -----Original Message----- > From: Schimpe, Christina > Sent: Monday, April 15, 2024 1:26 PM > To: gdb-patches@sourceware.org > Cc: Eli Zaretskii <eliz@gnu.org>; Luis Machado <luis.machado@arm.com> > Subject: RE: [PING][PATCH 0/3] Add amd64 LAM watchpoint support > > Kindly pinging for feedback. > > The NEWS part is already approved by Eli. > I also got some feedback from Luis and will apply his comments regarding > gdbarch function naming. > But I'd wait for further feedback until I push a v2 of this series. > > Thanks, > Christina > > > 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 <http://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