From 30adeb3a4bab56758a92a59408313c2211212f4c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 20 Jan 2005 22:36:06 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 7 ++++++ gdb/acconfig.h | 6 ----- gdb/configure | 58 ------------------------------------------------ gdb/configure.ac | 20 ----------------- 4 files changed, 7 insertions(+), 84 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9c75a27f2a..f3d53d516c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2005-01-20 Mark Kettenis + + * 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 * utils.c (quit): Simplify, call fatal. diff --git a/gdb/acconfig.h b/gdb/acconfig.h index 5d1cd9e335..a7f055db95 100644 --- a/gdb/acconfig.h +++ b/gdb/acconfig.h @@ -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 defines the PTRACE_GETREGS request. */ #undef HAVE_PTRACE_GETREGS diff --git a/gdb/configure b/gdb/configure index efb0a2cba4..a6810226e3 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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 - -_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 - -_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. diff --git a/gdb/configure.ac b/gdb/configure.ac index c3e16cc720..f30fbc3684 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -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.