aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config.in6
-rwxr-xr-xgdb/configure4
-rw-r--r--gdb/configure.ac4
-rw-r--r--gdb/expprint.c2
5 files changed, 8 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d330578..6bd3159 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2012-11-14 Tom Tromey <tromey@redhat.com>
+
+ * configure, config.in: Rebuild.
+ * configure.ac: Don't check for ctype.h, time.h.
+ * expprint.c: Don't use HAVE_CTYPE_H.
+
2012-11-13 Tom Tromey <tromey@redhat.com>
* gdbarch.h, gdbarch.c: Rebuild.
diff --git a/gdb/config.in b/gdb/config.in
index 0f795c6..9338a39 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -78,9 +78,6 @@
/* Define to 1 if you have the `canonicalize_file_name' function. */
#undef HAVE_CANONICALIZE_FILE_NAME
-/* Define to 1 if you have the <ctype.h> header file. */
-#undef HAVE_CTYPE_H
-
/* Define to 1 if you have the <cursesX.h> header file. */
#undef HAVE_CURSESX_H
@@ -536,9 +533,6 @@
/* Define if using Solaris thread debugging. */
#undef HAVE_THREAD_DB_LIB
-/* Define to 1 if you have the <time.h> header file. */
-#undef HAVE_TIME_H
-
/* Define if you support the tkill syscall. */
#undef HAVE_TKILL_SYSCALL
diff --git a/gdb/configure b/gdb/configure
index 68ee707..6d6fb09 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8919,8 +8919,6 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h
fi
# elf_hp.h is for HP/UX 64-bit shared library support.
-# FIXME: kettenis/20030102: In most cases we include these (ctype.h, time.h)
-# unconditionally, so what's the point in checking these?
for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
thread_db.h signal.h stddef.h \
stdlib.h string.h memory.h strings.h sys/fault.h \
@@ -8928,7 +8926,7 @@ for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
sys/types.h sys/wait.h wait.h termios.h termio.h \
- sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \
+ sgtty.h unistd.h elf_hp.h locale.h \
dlfcn.h sys/socket.h sys/un.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
diff --git a/gdb/configure.ac b/gdb/configure.ac
index f0b7df3..1dbebf2 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1075,8 +1075,6 @@ AC_HEADER_DIRENT
AC_HEADER_STAT
AC_HEADER_STDC
# elf_hp.h is for HP/UX 64-bit shared library support.
-# FIXME: kettenis/20030102: In most cases we include these (ctype.h, time.h)
-# unconditionally, so what's the point in checking these?
AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
thread_db.h signal.h stddef.h \
stdlib.h string.h memory.h strings.h sys/fault.h \
@@ -1084,7 +1082,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
sys/types.h sys/wait.h wait.h termios.h termio.h \
- sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \
+ sgtty.h unistd.h elf_hp.h locale.h \
dlfcn.h sys/socket.h sys/un.h])
AC_CHECK_HEADERS(link.h, [], [],
[#if HAVE_SYS_TYPES_H
diff --git a/gdb/expprint.c b/gdb/expprint.c
index c8eef5e..ddd3a77 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -33,9 +33,7 @@
#include "gdb_assert.h"
#include "valprint.h"
-#ifdef HAVE_CTYPE_H
#include <ctype.h>
-#endif
void
print_expression (struct expression *exp, struct ui_file *stream)