From patchwork Tue Nov 14 13:35:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bouhaouel, Mohamed" X-Patchwork-Id: 56371 Return-Path: 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 EA3B73857709 for ; Tue, 14 Nov 2023 13:36:03 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by sourceware.org (Postfix) with ESMTPS id 4C01C3858D20 for ; Tue, 14 Nov 2023 13:35:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4C01C3858D20 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 4C01C3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.55.52.43 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699968951; cv=none; b=Quk8y0gDEzz7pUyFBbmWjzJjhW4IdiMTWBcM4MmjBIOr+JxAP3MUIBXhNQMeY1eCLXZl6EN+fNxfqP4f/ye8VZBKLhdQidRRuOgW3H3DFMuPizD5Q06m5WHB/2N/6Gq8eA3OnEgQPPA5Kt1ZfSsc94HU5o21F+/ILnMERjNIi6Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699968951; c=relaxed/simple; bh=NaQ53v5vbYmCvN3rMT3EszVIGT7k0bqgO4D435ly2ck=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=m3hvqM9U/A1IZJolTVzUh1nqCDC5LVfzcLqg4v48nUNvo8lDF9OF3PTwseMFWKF0J2Y1d/y7CAPoPM2rlBWC+uGgYb+3r2fQQnTQzKP7BdYd+IuvPADvNHWZWpLGuMuLbuBreufE0RoQ4k4mqe2M7LDN6sdWbr2wLZPXx86eBS8= 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=1699968949; x=1731504949; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=NaQ53v5vbYmCvN3rMT3EszVIGT7k0bqgO4D435ly2ck=; b=k+1fef+JcGySvqQG5Ba21e9P+5g8LH0nJKO4CSCFX9u9OxMHyNhaxH1t ur7XLe03aWD/6JbCxBcIrG6l/frYgfinGIFi6/pn0/oB2aJb29B6wEbzd IHw19DP0Zn4O9SGY0EwAeizNtfQ1kgpYyKSG1k1KQ6UThN9UUt0T+xZcm AuI66cdOmlrP5enm6CZCPup5VniqNj3KSSjn6T0wl33ZEziP8RRkEQBNP FEmbp77J0nHoWJtGAo9jiPONRnsq3bmBSZOy6ZLvPEidlLxcQYeKfpkWX Eayvs2n6OrIrPuV6F38o/47I2vq2eOtXVCikWMmOGJkr4o1WlY9IFwTjS g==; X-IronPort-AV: E=McAfee;i="6600,9927,10894"; a="476866335" X-IronPort-AV: E=Sophos;i="6.03,302,1694761200"; d="scan'208";a="476866335" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2023 05:35:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10894"; a="714570469" X-IronPort-AV: E=Sophos;i="6.03,302,1694761200"; d="scan'208";a="714570469" Received: from mbouhaou-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.56.16]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2023 05:35:45 -0800 From: Mohamed Bouhaouel To: gdb-patches@sourceware.org Cc: blarsen@redhat.com, mohamed.bouhaouel@intel.com, eliz@gnu.org Subject: [PATCH v3 0/3] Check for zpoint support when handling watchpoints Date: Tue, 14 Nov 2023 14:35:29 +0100 Message-Id: <20231114133532.3877-1-mohamed.bouhaouel@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.8 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 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+patchwork=sourceware.org@sourceware.org Hi, Thanks Eli Zaretskii for your feedback, I updated the first patch accordingly. V1 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2023-March/198371.html V2 of this series can be found here: https://sourceware.org/pipermail/gdb-patches/2023-November/204091.html Changes since V2: * Updated text format in the added documentation. Regards, Mohamed Mohamed Bouhaouel (3): gdb, gdbserver, zpoint: report z_point support gdb, breakpoint: add a breakpoint type converter gdb, zpoint: check for target hardware breakpoint support gdb/NEWS | 4 ++++ gdb/breakpoint.c | 20 ++++++++++++++++++++ gdb/breakpoint.h | 3 +++ gdb/doc/gdb.texinfo | 32 ++++++++++++++++++++++++++++++++ gdb/remote.c | 42 +++++++++++++++++++++++++++++++++++++++--- gdbserver/mem-break.cc | 2 +- gdbserver/mem-break.h | 4 ++++ gdbserver/server.cc | 7 +++++++ 8 files changed, 110 insertions(+), 4 deletions(-)