* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)

(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
* configure.ac: Remove checks for HP-UX save_state structure.
* configure: Regenerated.
This commit is contained in:
Mark Kettenis 2005-01-20 22:36:06 +00:00
parent 619b8b6074
commit 30adeb3a4b
4 changed files with 7 additions and 84 deletions

View File

@ -1,3 +1,10 @@
2005-01-20 Mark Kettenis <kettenis@gnu.org>
* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
* configure.ac: Remove checks for HP-UX save_state structure.
* configure: Regenerated.
2005-01-19 Andrew Cagney <cagney@gnu.org>
* utils.c (quit): Simplify, call fatal.

View File

@ -133,12 +133,6 @@
/* Define if the simulator is being linked in. */
#undef WITH_SIM
/* Set to true if the save_state_t structure is present */
#undef HAVE_STRUCT_SAVE_STATE_T
/* Set to true if the save_state_t structure has the ss_wide member */
#undef HAVE_STRUCT_MEMBER_SS_WIDE
/* Define if <sys/ptrace.h> defines the PTRACE_GETREGS request. */
#undef HAVE_PTRACE_GETREGS

58
gdb/configure vendored
View File

@ -17514,64 +17514,6 @@ _ACEOF
fi
# The following save_state_t checkery is only necessary for HPUX
# versions earlier than 10.20. When those fade from memory, this
# could be expunged. --jsm 1999-03-22
echo "$as_me:$LINENO: checking for HPUX save_state structure" >&5
echo $ECHO_N "checking for HPUX save_state structure... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <machine/save_state.h>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "save_state_t" >/dev/null 2>&1; then
gdb_cv_hpux_savestate=yes
else
gdb_cv_hpux_savestate=no
fi
rm -f conftest*
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <machine/save_state.h>
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "ss_wide" >/dev/null 2>&1; then
gdb_cv_hpux_sswide=yes
else
gdb_cv_hpux_sswide=no
fi
rm -f conftest*
if test $gdb_cv_hpux_savestate = yes
then
cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_SAVE_STATE_T 1
_ACEOF
fi
if test $gdb_cv_hpux_sswide = yes
then
cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_MEMBER_SS_WIDE 1
_ACEOF
fi
echo "$as_me:$LINENO: result: $gdb_cv_hpux_sswide" >&5
echo "${ECHO_T}$gdb_cv_hpux_sswide" >&6
# If we are configured native on GNU/Linux, work around problems with
# sys/procfs.h
# Also detect which type of /proc is in use, such as for Unixware or Solaris.

View File

@ -709,26 +709,6 @@ BFD_NEED_DECLARATION(strdup)
BFD_NEED_DECLARATION(strstr)
BFD_NEED_DECLARATION(canonicalize_file_name)
# The following save_state_t checkery is only necessary for HPUX
# versions earlier than 10.20. When those fade from memory, this
# could be expunged. --jsm 1999-03-22
AC_MSG_CHECKING(for HPUX save_state structure)
AC_EGREP_HEADER(save_state_t, machine/save_state.h,
gdb_cv_hpux_savestate=yes, gdb_cv_hpux_savestate=no)
AC_EGREP_HEADER(ss_wide, machine/save_state.h, gdb_cv_hpux_sswide=yes,
gdb_cv_hpux_sswide=no)
if test $gdb_cv_hpux_savestate = yes
then
AC_DEFINE(HAVE_STRUCT_SAVE_STATE_T, 1)
fi
if test $gdb_cv_hpux_sswide = yes
then
AC_DEFINE(HAVE_STRUCT_MEMBER_SS_WIDE, 1)
fi
AC_MSG_RESULT($gdb_cv_hpux_sswide)
# If we are configured native on GNU/Linux, work around problems with
# sys/procfs.h
# Also detect which type of /proc is in use, such as for Unixware or Solaris.