diff options
author | Mark Kettenis <kettenis@gnu.org> | 2000-08-10 17:04:33 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2000-08-10 17:04:33 +0000 |
commit | 6ce2ac0be0097133458a6da41e62c9510643981f (patch) | |
tree | 3a3b167e9f7e9e4205252a295609353b3c2f67cd /gdb/config.in | |
parent | e2890f080481667b088d9909e43295ad7e26e15e (diff) | |
download | fsf-binutils-gdb-6ce2ac0be0097133458a6da41e62c9510643981f.zip fsf-binutils-gdb-6ce2ac0be0097133458a6da41e62c9510643981f.tar.gz fsf-binutils-gdb-6ce2ac0be0097133458a6da41e62c9510643981f.tar.bz2 |
Adapt support for SSE registers in Linux/x86 for Linux 2.4.
* i386-linux-nat.c: Various doc fixes. Include "i387-nat.h".
(GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
(have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
(convert_to_gregset): Removed. Moved logic to ...
(fill_gregset): ... here. Simplified function.
(fetch_regs): Use perror_with_name for error reporting.
(store_regs): Add `regno' parameter. Use perror_with_name for
error reporting. Call fill_gregset instead of convert_to_gregset.
(FPREG_ADDR): Remove.
(supply_fpregset): Implement by calling i387_supply_fsave.
(convert_to_fpregset): Remove.
(fill_fpregset): Implement by calling i387_fill_fsave.
(fetch_fpregs): Use perror_with_name fro error reporting.
(store_fpregs) Add `regno' parameter. Use perror_with_name fro
error reporting. Call fill_fpregset instead of
convert_to_fpregset.
(supply_xfpregset, convert_to_xfpregset): Removed.
(supply_fpxregset, fill_fpxregset): New functions.
(fetch_fpxregs): Renamed from fetch_xfpregs. Use perror_with_name
for error reporting. Call supply_fpxregset instead of
supply_xfpregset.
(store_xfpregs): Removed.
(store_fpxregs): New function.
(fetch_inferior_registers): Adjust for xfp -> fpx change. Tweak
message in call to internal_error.
(store_inferior_registers): Adjust for xfp ->fpx change. Pass
REGNO to store_regs, store_fpregs and store_fpxregs.
(fetch_core_registers): Adjust for xfp -> fpx change.
* acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
HAVE_PTRACE_GETXFPREGS.
* config.in: Regenerated.
* configure.in: Replace check for PTRACE_GETXFPREGS with check for
PTRACE_GETFPXREGS. Remove comment about Cygnus SSE extensions.
* configure: Regenerated.
* config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
* config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config.in b/gdb/config.in index 1571a9f..bbeebbe 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -129,8 +129,8 @@ /* Define if <sys/ptrace.h> defines the PTRACE_GETREGS request. */ #undef HAVE_PTRACE_GETREGS -/* Define if <sys/ptrace.h> defines the PTRACE_GETXFPREGS request. */ -#undef HAVE_PTRACE_GETXFPREGS +/* Define if <sys/ptrace.h> defines the PTRACE_GETFPXREGS request. */ +#undef HAVE_PTRACE_GETFPXREGS /* Define if gnu-regex.c included with GDB should be used. */ #undef USE_INCLUDED_REGEX |