aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.nat
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-03-22 12:05:43 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2022-03-22 12:05:43 -0700
commit1570c37c340bb9df2db2c30b437d6c30e1d75459 (patch)
treebb521df0001a1d2e73327b8ca7f88f61f8711edf /gdb/configure.nat
parent4bd817e71eefd659f51ec75bfb13109c486e8311 (diff)
downloadfsf-binutils-gdb-1570c37c340bb9df2db2c30b437d6c30e1d75459.zip
fsf-binutils-gdb-1570c37c340bb9df2db2c30b437d6c30e1d75459.tar.gz
fsf-binutils-gdb-1570c37c340bb9df2db2c30b437d6c30e1d75459.tar.bz2
aarch64: Add an aarch64_nat_target mixin class.
This class includes platform-independent target methods for hardware breakpoints and watchpoints using routines from nat/aarch64-hw-point.c. stopped_data_address is not platform-independent since the FAR register holding the address for a breakpoint hit must be fetched in a platform-specific manner. However, aarch64_stopped_data_address is provided as a helper routine which performs platform-independent validation given the value of the FAR register. For tracking the per-process debug register mirror state, use an unordered_map indexed by pid as recently adopted in x86-nat.c rather than a manual linked-list.
Diffstat (limited to 'gdb/configure.nat')
-rw-r--r--gdb/configure.nat2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.nat b/gdb/configure.nat
index ad6d35b..4f5850d 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -233,7 +233,7 @@ case ${gdb_host} in
case ${gdb_host_cpu} in
aarch64)
# Host: AArch64 based machine running GNU/Linux
- NATDEPFILES="${NATDEPFILES} aarch64-linux-nat.o \
+ NATDEPFILES="${NATDEPFILES} aarch64-nat.o aarch64-linux-nat.o \
aarch32-linux-nat.o nat/aarch64-hw-point.o \
nat/aarch64-linux-hw-point.o \
nat/aarch64-linux.o \