aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/configure.srv
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-10-06 18:10:26 +0200
committerKamil Rytarowski <n54@gmx.com>2020-10-07 14:39:59 +0200
commit8e1d09292902cff8325b08a64fa5a918c7f9aa4f (patch)
tree7b8fbc5a7dcd9609b729aeef5d60207192052c83 /gdbserver/configure.srv
parent64c03bdb6ed0b1b44ebe6f9f151fde3af83bdf38 (diff)
downloadgdb-8e1d09292902cff8325b08a64fa5a918c7f9aa4f.zip
gdb-8e1d09292902cff8325b08a64fa5a918c7f9aa4f.tar.gz
gdb-8e1d09292902cff8325b08a64fa5a918c7f9aa4f.tar.bz2
Add NetBSD/aarch64 gdbserver support
The support is on par with NetBSD/amd64, thus GPR works, single step and software breakpoint are operational, and the SVR4 r_debug integration is functional. gdbserver/ChangeLog: * netbsd-aarch64-low.cc: Add. * Makefile.in (SFILES): Register "netbsd-aarch64-low.c". * configure.srv: Add aarch64*-*-netbsd*.
Diffstat (limited to 'gdbserver/configure.srv')
-rw-r--r--gdbserver/configure.srv6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdbserver/configure.srv b/gdbserver/configure.srv
index c4fe4ca..cd25b15 100644
--- a/gdbserver/configure.srv
+++ b/gdbserver/configure.srv
@@ -61,6 +61,12 @@ case "${gdbserver_host}" in
ipa_obj="${ipa_obj} linux-aarch64-tdesc-ipa.o"
ipa_obj="${ipa_obj} arch/aarch64-ipa.o"
;;
+ aarch64*-*-netbsd*) srv_regobj=""
+ srv_tgtobj="netbsd-low.o netbsd-aarch64-low.o fork-child.o"
+ srv_tgtobj="${srv_tgtobj} nat/fork-inferior.o"
+ srv_tgtobj="${srv_tgtobj} nat/netbsd-nat.o"
+ srv_tgtobj="${srv_tgtobj} arch/aarch64-insn.o arch/aarch64.o"
+ ;;
arm*-*-linux*) srv_tgtobj="$srv_linux_obj linux-arm-low.o"
srv_tgtobj="$srv_tgtobj linux-arm-tdesc.o"
srv_tgtobj="$srv_tgtobj linux-aarch32-low.o"