diff options
author | Tom Tromey <tromey@redhat.com> | 2013-11-06 07:17:47 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-18 13:29:01 -0700 |
commit | a3d08894e544f6b9e65581469cbbafbe39a353fe (patch) | |
tree | 11f5b4577b452a1c0c1512012f9b119650c7f07e /gdb | |
parent | 0e9f083f4cb94a9dc861f38ba151aac06efce2b8 (diff) | |
download | gdb-a3d08894e544f6b9e65581469cbbafbe39a353fe.zip gdb-a3d08894e544f6b9e65581469cbbafbe39a353fe.tar.gz gdb-a3d08894e544f6b9e65581469cbbafbe39a353fe.tar.bz2 |
don't check for string.h or strings.h
Now that we are using the gnulib string.h module, we don't need to
check for string.h or strings.h. This removes the last few checks
from the source and from the configure scripts.
2013-11-18 Tom Tromey <tromey@redhat.com>
* configure: Rebuild.
* common/common.m4 (GDB_AC_COMMON): Don't check for string.h or
strings.h.
2013-11-18 Tom Tromey <tromey@redhat.com>
* server.h: Don't check HAVE_STRING_H.
* gdbreplay.c: Don't check HAVE_STRING_H.
* configure: Rebuild.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/common/common.m4 | 1 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 2 | ||||
-rw-r--r-- | gdb/gdbserver/gdbreplay.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/server.h | 2 |
7 files changed, 14 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 26ea86e..d29fbf0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2013-11-18 Tom Tromey <tromey@redhat.com> + * configure: Rebuild. + * common/common.m4 (GDB_AC_COMMON): Don't check for string.h or + strings.h. + +2013-11-18 Tom Tromey <tromey@redhat.com> + * common/gdb_string.h: Remove. * aarch64-tdep.c: Use string.h, not gdb_string.h. * ada-exp.y: Use string.h, not gdb_string.h. diff --git a/gdb/common/common.m4 b/gdb/common/common.m4 index 20fbb44..b1abc4d 100644 --- a/gdb/common/common.m4 +++ b/gdb/common/common.m4 @@ -27,7 +27,6 @@ AC_DEFUN([GDB_AC_COMMON], [ AM_LANGINFO_CODESET AC_CHECK_HEADERS(linux/perf_event.h locale.h memory.h signal.h dnl - string.h strings.h dnl sys/resource.h sys/socket.h sys/syscall.h dnl sys/un.h sys/wait.h dnl thread_db.h wait.h) diff --git a/gdb/configure b/gdb/configure index 8b20a13..ae24ca5 100755 --- a/gdb/configure +++ b/gdb/configure @@ -10667,7 +10667,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h fi - for ac_header in linux/perf_event.h locale.h memory.h signal.h string.h strings.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h + for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 13bde11..96d598d 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,11 @@ 2013-11-18 Tom Tromey <tromey@redhat.com> + * server.h: Don't check HAVE_STRING_H. + * gdbreplay.c: Don't check HAVE_STRING_H. + * configure: Rebuild. + +2013-11-18 Tom Tromey <tromey@redhat.com> + * Makefile.in (gdbreplay$(EXEEXT)): Depend on and link against LIBGNU. diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 6bef97c1..096c7b3 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -5420,7 +5420,7 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h fi - for ac_header in linux/perf_event.h locale.h memory.h signal.h string.h strings.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h + for ac_header in linux/perf_event.h locale.h memory.h signal.h sys/resource.h sys/socket.h sys/syscall.h sys/un.h sys/wait.h thread_db.h wait.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c index 5e64f6d..1f823e0 100644 --- a/gdb/gdbserver/gdbreplay.c +++ b/gdb/gdbserver/gdbreplay.c @@ -38,9 +38,7 @@ #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif -#ifdef HAVE_STRING_H #include <string.h> -#endif #include <unistd.h> #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 05724e0..32cf416 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -41,9 +41,7 @@ /* For gnulib's PATH_MAX. */ #include "pathmax.h" -#ifdef HAVE_STRING_H #include <string.h> -#endif #ifdef HAVE_ALLOCA_H #include <alloca.h> |