From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2610:1c1:1:606c::19:2]) by sourceware.org (Postfix) with ESMTPS id 6014D3858C27 for ; Fri, 9 Jul 2021 18:37:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6014D3858C27 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "R3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 9C6C970ECD for ; Fri, 9 Jul 2021 18:37:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GM22f2sYdz4mcZ for ; Fri, 9 Jul 2021 18:37:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro.local (d-24-233-223-154.va.cpe.atlanticbb.net [24.233.223.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 3C36ED5F9 for ; Fri, 9 Jul 2021 18:37:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Subject: [PING] [PATCH 0/5] Add helper functions for FreeBSD native targets From: John Baldwin To: gdb-patches@sourceware.org References: <20210528202614.2081-1-jhb@FreeBSD.org> Message-ID: <2f11b700-f9c6-c7e8-a209-e67f15a73b2e@FreeBSD.org> Date: Fri, 9 Jul 2021 14:37:28 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 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: Fri, 09 Jul 2021 18:37:34 -0000 On 6/12/21 4:17 PM, John Baldwin wrote: > On 5/28/21 1:26 PM, John Baldwin wrote: >> I have another series I'm working on that will end up using these >> helpers for the x86 native targets as well. This mostly just serves >> to reduce some code duplication. >> >> John Baldwin (5): >> Add regcache_map_supplies helper routine. >> fbsd-nat: Add helper functions to fetch and store register sets. >> riscv-fbsd-nat: Use fetch_register_set and store_register_set. >> aarch64-fbsd-nat: Use fetch_register_set and store_register_set. >> arm-fbsd-nat: Use fetch_register_set and store_register_set. >> >> gdb/ChangeLog | 30 ++++++++++++++++ >> gdb/aarch64-fbsd-nat.c | 77 +++++---------------------------------- >> gdb/arm-fbsd-nat.c | 81 +++++------------------------------------- >> gdb/fbsd-nat.h | 44 +++++++++++++++++++++++ >> gdb/regcache.c | 27 ++++++++++++++ >> gdb/regcache.h | 7 ++++ >> gdb/riscv-fbsd-nat.c | 78 +++++----------------------------------- >> 7 files changed, 132 insertions(+), 212 deletions(-) > > Ping. The first patch adds a new regcache_map API. The rest of the > series is specific to the FreeBSD native target and can probably go > in without further review if the first patch is ok. I have some follow-on patches for the FreeBSD/x86 targets that will make use of this as well, and so this is a dependency of those. -- John Baldwin