From: John Baldwin Date: Wed, 2 Mar 2022 22:09:55 +0000 (-0800) Subject: configure: Stop checking for PT_GETXMMREGS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74320502cba8e77d053dab447a6bcaec80aec28c;p=binutils-gdb.git 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. --- diff --git a/gdb/configure b/gdb/configure index 425bdb08a73..b34baff13be 100755 --- a/gdb/configure +++ b/gdb/configure @@ -16245,43 +16245,6 @@ $as_echo "#define HAVE_PT_GETDBREGS 1" >>confdefs.h fi -# See if 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 - #include -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 supports LWP names on FreeBSD # Older FreeBSD versions don't have the pl_tdname member of # `struct ptrace_lwpinfo'. diff --git a/gdb/configure.ac b/gdb/configure.ac index c6fa19b20bc..bc8925ddd69 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -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 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 - #include ], - [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 supports LWP names on FreeBSD # Older FreeBSD versions don't have the pl_tdname member of # `struct ptrace_lwpinfo'.