aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.srv
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-07-13 15:21:02 +0000
committerDaniel Jacobowitz <drow@false.org>2005-07-13 15:21:02 +0000
commite9d25b9800c6f642ae0fe10a0fa57d079d84ff6e (patch)
treeeff685623f742c5dda706a2ca61b4ebb08a44130 /gdb/gdbserver/configure.srv
parenta06660f79997c37a351afbce6ce75bd0c3de1276 (diff)
downloadgdb-e9d25b9800c6f642ae0fe10a0fa57d079d84ff6e.zip
gdb-e9d25b9800c6f642ae0fe10a0fa57d079d84ff6e.tar.gz
gdb-e9d25b9800c6f642ae0fe10a0fa57d079d84ff6e.tar.bz2
* configure.ac: Define HAVE_LINUX_REGSETS even if PTRACE_GETREGS
is not available. Define HAVE_PTRACE_GETREGS if it is. * config.in, configure: Regenerated. * configure.srv: Set srv_linux_regsets for PowerPC and PowerPC64. * linux-i386-low.c, linux-m68k-low.c: Update to use HAVE_PTRACE_GETREGS. * linux-low.c (regsets_fetch_inferior_registers) (regsets_store_inferior_registers): Only return 0 if we processed GENERAL_REGS. * linux-ppc-low.c (ppc_fill_gregset, target_regsets): New. * linux-ppc64-low.c (ppc_fill_gregset, target_regsets): New.
Diffstat (limited to 'gdb/gdbserver/configure.srv')
-rw-r--r--gdb/gdbserver/configure.srv2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index 974a670..f0e4dd3 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -62,11 +62,13 @@ case "${target}" in
powerpc64-*-linux*) srv_regobj=reg-ppc64.o
srv_tgtobj="linux-low.o linux-ppc64-low.o"
srv_linux_usrregs=yes
+ srv_linux_regsets=yes
srv_linux_thread_db=yes
;;
powerpc-*-linux*) srv_regobj=reg-ppc.o
srv_tgtobj="linux-low.o linux-ppc-low.o"
srv_linux_usrregs=yes
+ srv_linux_regsets=yes
srv_linux_thread_db=yes
;;
s390-*-linux*) srv_regobj=reg-s390.o