diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-07-13 15:21:02 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-07-13 15:21:02 +0000 |
commit | e9d25b9800c6f642ae0fe10a0fa57d079d84ff6e (patch) | |
tree | eff685623f742c5dda706a2ca61b4ebb08a44130 /gdb/gdbserver/configure | |
parent | a06660f79997c37a351afbce6ce75bd0c3de1276 (diff) | |
download | gdb-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')
-rwxr-xr-x | gdb/gdbserver/configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 69d666d..3b3b2d0 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -3233,6 +3233,12 @@ _ACEOF fi if test "${srv_linux_regsets}" = "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LINUX_REGSETS 1 +_ACEOF + + echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then @@ -3290,7 +3296,7 @@ echo "${ECHO_T}$gdbsrv_cv_have_ptrace_getregs" >&6 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then cat >>confdefs.h <<\_ACEOF -#define HAVE_LINUX_REGSETS 1 +#define HAVE_PTRACE_GETREGS 1 _ACEOF fi |