diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-03-22 12:05:43 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-03-22 12:05:43 -0700 |
commit | 065a00b3a461463cca766ac6bb33e3be436397bd (patch) | |
tree | bb7761b78a3d276940938ce646aecc9b3d46bf0e /gdb/configure.nat | |
parent | a3627b54280ba306766f2689fb35442f24c4c313 (diff) | |
download | gdb-065a00b3a461463cca766ac6bb33e3be436397bd.zip gdb-065a00b3a461463cca766ac6bb33e3be436397bd.tar.gz gdb-065a00b3a461463cca766ac6bb33e3be436397bd.tar.bz2 |
Add support for hardware breakpoints/watchpoints on FreeBSD/Aarch64.
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.
Diffstat (limited to 'gdb/configure.nat')
-rw-r--r-- | gdb/configure.nat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.nat b/gdb/configure.nat index 4f5850d..d219d6a 100644 --- a/gdb/configure.nat +++ b/gdb/configure.nat @@ -154,7 +154,8 @@ case ${gdb_host} in case ${gdb_host_cpu} in aarch64) # Host: FreeBSD/aarch64 - NATDEPFILES="${NATDEPFILES} aarch64-fbsd-nat.o" + NATDEPFILES="${NATDEPFILES} aarch64-nat.o \ + nat/aarch64-hw-point.o aarch64-fbsd-nat.o" LOADLIBES= ;; arm) |