aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/configure.srv
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-09-23 05:31:31 +0200
committerKamil Rytarowski <n54@gmx.com>2020-10-02 00:41:21 +0200
commit8b667faedf6012048f1f6e71785b1ac1412b8a9c (patch)
tree32a487b1f43f51bfbdd48402adae9d1ede5a6481 /gdbserver/configure.srv
parent15397b0e058a84afcc2b6f4af383514e32f99a3d (diff)
downloadgdb-8b667faedf6012048f1f6e71785b1ac1412b8a9c.zip
gdb-8b667faedf6012048f1f6e71785b1ac1412b8a9c.tar.gz
gdb-8b667faedf6012048f1f6e71785b1ac1412b8a9c.tar.bz2
Add NetBSD/i386 gdbserver support
The support is on part with NetBSD/amd64, thus GPR works, single step and software breakpoint are operational, and the SVR4 r_debug integration is functional. gdbserver/ChangeLog: * netbsd-i386-low.cc: Add. * Makefile.in (SFILES): Register "netbsd-i386-low.c". * configure.srv: Add i[34567]86-*-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 b9a3703..c4fe4ca 100644
--- a/gdbserver/configure.srv
+++ b/gdbserver/configure.srv
@@ -101,6 +101,12 @@ case "${gdbserver_host}" in
srv_tgtobj="${srv_tgtobj} arch/i386.o"
srv_mingw=yes
;;
+ i[34567]86-*-netbsd*) srv_regobj=""
+ srv_tgtobj="netbsd-low.o netbsd-i386-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/i386.o"
+ ;;
ia64-*-linux*) srv_regobj=reg-ia64.o
srv_tgtobj="$srv_linux_obj linux-ia64-low.o"
srv_linux_usrregs=yes