configure: Stop checking for PT_GETXMMREGS.
This request is present on all modern *BSD/i386 systems (those released since mid-2006), and the *BSD/i386 targets now assume it is present unconditionally.
This commit is contained in:
parent
72919b16ec
commit
74320502cb
37
gdb/configure
vendored
37
gdb/configure
vendored
@ -16245,43 +16245,6 @@ $as_echo "#define HAVE_PT_GETDBREGS 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
# See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PT_GETXMMREGS" >&5
|
||||
$as_echo_n "checking for PT_GETXMMREGS... " >&6; }
|
||||
if ${gdb_cv_have_pt_getxmmregs+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <sys/types.h>
|
||||
#include <sys/ptrace.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
PT_GETXMMREGS;
|
||||
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
gdb_cv_have_pt_getxmmregs=yes
|
||||
else
|
||||
gdb_cv_have_pt_getxmmregs=no
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_have_pt_getxmmregs" >&5
|
||||
$as_echo "$gdb_cv_have_pt_getxmmregs" >&6; }
|
||||
if test "$gdb_cv_have_pt_getxmmregs" = yes; then
|
||||
|
||||
$as_echo "#define HAVE_PT_GETXMMREGS 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
# See if <sys/ptrace.h> supports LWP names on FreeBSD
|
||||
# Older FreeBSD versions don't have the pl_tdname member of
|
||||
# `struct ptrace_lwpinfo'.
|
||||
|
@ -1486,26 +1486,6 @@ if test "$gdb_cv_have_pt_getdbregs" = yes; then
|
||||
[Define if sys/ptrace.h defines the PT_GETDBREGS request.])
|
||||
fi
|
||||
|
||||
# See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
|
||||
AC_MSG_CHECKING(for PT_GETXMMREGS)
|
||||
AC_CACHE_VAL(
|
||||
[gdb_cv_have_pt_getxmmregs],
|
||||
[AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[#include <sys/types.h>
|
||||
#include <sys/ptrace.h>],
|
||||
[PT_GETXMMREGS;]
|
||||
)],
|
||||
[gdb_cv_have_pt_getxmmregs=yes],
|
||||
[gdb_cv_have_pt_getxmmregs=no]
|
||||
)]
|
||||
)
|
||||
AC_MSG_RESULT($gdb_cv_have_pt_getxmmregs)
|
||||
if test "$gdb_cv_have_pt_getxmmregs" = yes; then
|
||||
AC_DEFINE(HAVE_PT_GETXMMREGS, 1,
|
||||
[Define if sys/ptrace.h defines the PT_GETXMMREGS request.])
|
||||
fi
|
||||
|
||||
# See if <sys/ptrace.h> supports LWP names on FreeBSD
|
||||
# Older FreeBSD versions don't have the pl_tdname member of
|
||||
# `struct ptrace_lwpinfo'.
|
||||
|
Loading…
x
Reference in New Issue
Block a user