This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Get rid of HP-UX save_state configure checks
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 20 Jan 2005 23:42:30 +0100 (CET)
- Subject: [COMMIT] Get rid of HP-UX save_state configure checks
The HP-UX code no longer checks these.
Committed as obvious.
Mark
P.S. Regenerating config.in using autoheader currently fails. I'm
working on some patches that will fix that. Meanwhile, it shouldn't
be a problem that it isn't regenerated.
Index: ChangeLog
from 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.
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.4
diff -u -p -r1.4 configure.ac
--- configure.ac 19 Jan 2005 22:04:37 -0000 1.4
+++ configure.ac 20 Jan 2005 22:30:47 -0000
@@ -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.
Index: acconfig.h
===================================================================
RCS file: /cvs/src/src/gdb/acconfig.h,v
retrieving revision 1.30
diff -u -p -r1.30 acconfig.h
--- acconfig.h 2 Sep 2004 17:36:10 -0000 1.30
+++ acconfig.h 20 Jan 2005 22:30:47 -0000
@@ -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