aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/configure.srv
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-09-02 19:35:42 +0200
committerKamil Rytarowski <n54@gmx.com>2020-09-10 15:40:10 +0200
commit62ba50486f1146f0cfd33074fc127fe00a02e87e (patch)
tree85bf1a5ab4532bb4801f9aeb6d341481d5da4768 /gdbserver/configure.srv
parentcf4ac4be12c311d387c8bce55f16f5ad3782d77c (diff)
downloadgdb-62ba50486f1146f0cfd33074fc127fe00a02e87e.zip
gdb-62ba50486f1146f0cfd33074fc127fe00a02e87e.tar.gz
gdb-62ba50486f1146f0cfd33074fc127fe00a02e87e.tar.bz2
Add minimal and functional NetBSD/amd64 gdbserver
Implement the following functionality: create_inferior, post_create_inferior, attach, kill, detach, mourn, join, thread_alive, resume, wait, fetch_registers, store_registers, read_memory, write_memory, request_interrupt, supports_read_auxv, read_auxv, supports_hardware_single_step, sw_breakpoint_from_kind, supports_z_point_type, insert_point, remove_point, stopped_by_sw_breakpoint, supports_qxfer_siginfo, qxfer_siginfo, supports_stopped_by_sw_breakpoint, supports_non_stop, supports_multi_process, supports_fork_events, supports_vfork_events, supports_exec_events, supports_disable_randomization, supports_qxfer_libraries_svr4, qxfer_libraries_svr4, supports_pid_to_exec_file, pid_to_exec_file, thread_name, supports_catch_syscall. The only CPU architecture supported: x86_64. Implement only support for hardware assisted single step and software breakpoint. Implement support only for regular X86 registers, thus no FPU. gdbserver/ChangeLog: * netbsd-low.cc: Add. * netbsd-low.h: Likewise. * netbsd-amd64-low.cc: Likewise. * Makefile.in (SFILES): Register "netbsd-low.cc", "netbsd-low.h", "netbsd-amd64-low.cc". * configure.srv: Add x86_64-*-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 5e33bd9..b9a3703 100644
--- a/gdbserver/configure.srv
+++ b/gdbserver/configure.srv
@@ -349,6 +349,12 @@ case "${gdbserver_host}" in
srv_tgtobj="${srv_tgtobj} nat/windows-nat.o"
srv_tgtobj="${srv_tgtobj} arch/amd64.o arch/i386.o"
;;
+ x86_64-*-netbsd*) srv_regobj=""
+ srv_tgtobj="netbsd-low.o netbsd-amd64-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/amd64.o"
+ ;;
xtensa*-*-linux*) srv_regobj=reg-xtensa.o
srv_tgtobj="$srv_linux_obj linux-xtensa-low.o"