]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
authorMark Kettenis <kettenis@gnu.org>
Thu, 20 Jan 2005 22:36:06 +0000 (22:36 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 20 Jan 2005 22:36:06 +0000 (22:36 +0000)
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
* configure.ac: Remove checks for HP-UX save_state structure.
* configure: Regenerated.

gdb/ChangeLog
gdb/acconfig.h
gdb/configure
gdb/configure.ac

index 9c75a27f2a24483eb68dfc9baa15fe7b43d0ab3a..f3d53d516cff6309c5bef3987446af70eed711a2 100644 (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.
index 5d1cd9e33510c1b1fe9acd739e2b365be70f980b..a7f055db959def0981623f605e51f25fdfeb797a 100644 (file)
 /* 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
 
index efb0a2cba48a404da0921bcfa6f8f1feeaf75405..a6810226e37999a0928f3f47542115fb04c83abf 100755 (executable)
@@ -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.
index c3e16cc72007ee9421dfa6b3f16aaa4554dffaff..f30fbc3684f25476a0f070c45ac51444d832967a 100644 (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.