fbsd-nat: Add helper functions to fetch and store register sets.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 13 Jul 2021 15:16:12 +0000 (08:16 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 13 Jul 2021 15:16:12 +0000 (08:16 -0700)
commit5a680bf9f2c89df9d192a1f5c6b02022babf7793
tree7ba49463c926ae37fe0301b358bbe14e76d37b7a
parent30a696c543419bb9cadb844f9d2e2d6ecc66d3b5
fbsd-nat: Add helper functions to fetch and store register sets.

In particular, this supports register sets described by a regcache_map
which are fetched and stored with dedicated ptrace operations.  These
functions are intended to be used in architecture-specific
fetch_registers and store_registers target methods.
gdb/fbsd-nat.c
gdb/fbsd-nat.h