aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/acconfig.h6
-rwxr-xr-xgdb/configure58
-rw-r--r--gdb/configure.ac20
4 files changed, 7 insertions, 84 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9c75a27..f3d53d5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/acconfig.h b/gdb/acconfig.h
index 5d1cd9e..a7f055d 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 <sys/ptrace.h> defines the PTRACE_GETREGS request. */
#undef HAVE_PTRACE_GETREGS
diff --git a/gdb/configure b/gdb/configure
index efb0a2c..a681022 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 <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.
diff --git a/gdb/configure.ac b/gdb/configure.ac
index c3e16cc..f30fbc3 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.