From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id 81D7C3858C78 for ; Tue, 1 Mar 2022 03:35:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 81D7C3858C78 Received: from [2001:470:142:3::e] (port=54108 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOtIB-0005Ca-Ax; Mon, 28 Feb 2022 22:35:15 -0500 Received: from [87.69.77.57] (port=1897 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOtIA-0004bY-Pf; Mon, 28 Feb 2022 22:35:15 -0500 Date: Tue, 01 Mar 2022 05:35:07 +0200 Message-Id: <83r17ml504.fsf@gnu.org> From: Eli Zaretskii To: John Baldwin Cc: gdb-patches@sourceware.org In-Reply-To: <20220301002419.5122-13-jhb@FreeBSD.org> (message from John Baldwin on Mon, 28 Feb 2022 16:24:19 -0800) Subject: Re: [RFC PATCH 12/12] Add support for hardware breakpoints/watchpoints on FreeBSD/Aarch64. References: <20220301002419.5122-1-jhb@FreeBSD.org> <20220301002419.5122-13-jhb@FreeBSD.org> X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2022 03:35:18 -0000 > From: John Baldwin > Date: Mon, 28 Feb 2022 16:24:19 -0800 > > This shares aarch64-nat.c and nat/aarch64-hw-point.c with the Linux > native target. Since FreeBSD writes all of the debug registers in one > ptrace op, use an unordered_set<> to track the "dirty" state for > threads rather than bitmasks of modified registers. > --- > gdb/NEWS | 2 + > gdb/aarch64-fbsd-nat.c | 260 ++++++++++++++++++++++++++++++++++++++++- > gdb/configure.nat | 3 +- > 3 files changed, 263 insertions(+), 2 deletions(-) OK for the NEWS part, thanks.