diff options
author | Tom Tromey <tromey@redhat.com> | 2013-11-06 07:42:51 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-18 13:29:02 -0700 |
commit | 0080a2f67157de9feeee6d0bf3c0db28112b167b (patch) | |
tree | 2eaa735f308f8f1130d881653dd86a90dbc52f1e /gdb/gdbserver | |
parent | 161d1bec16764585e987c8d804df0fb560a0d491 (diff) | |
download | gdb-0080a2f67157de9feeee6d0bf3c0db28112b167b.zip gdb-0080a2f67157de9feeee6d0bf3c0db28112b167b.tar.gz gdb-0080a2f67157de9feeee6d0bf3c0db28112b167b.tar.bz2 |
stdlib.h is universal too
stdlib.h is universal as well, so there is no need to check for it.
2013-11-18 Tom Tromey <tromey@redhat.com>
* configure: Rebuild.
* configure.ac: Don't check for stdlib.h
* defs.h: Include stdlib.h unconditionally.
2013-11-18 Tom Tromey <tromey@redhat.com>
* configure: Rebuild.
* configure.ac: Don't check for stdlib.h.
* gdbreplay.c: Unconditionally include stdlib.h.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 2 | ||||
-rw-r--r-- | gdb/gdbserver/configure.ac | 1 | ||||
-rw-r--r-- | gdb/gdbserver/gdbreplay.c | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 6e38797..ee4aa32 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,11 @@ 2013-11-18 Tom Tromey <tromey@redhat.com> + * configure: Rebuild. + * configure.ac: Don't check for stdlib.h. + * gdbreplay.c: Unconditionally include stdlib.h. + +2013-11-18 Tom Tromey <tromey@redhat.com> + * config.in: Rebuild. * configure: Rebuild. * configure.ac: Don't use AC_HEADER_DIRENT. diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index d75ec1f..fac7fb3 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -4714,7 +4714,7 @@ $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cach cd "$ac_popdir" -for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h proc_service.h sys/procfs.h linux/elf.h stdlib.h errno.h fcntl.h signal.h sys/file.h malloc.h sys/ioctl.h netinet/in.h sys/socket.h netdb.h netinet/tcp.h arpa/inet.h +for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h proc_service.h sys/procfs.h linux/elf.h errno.h fcntl.h signal.h sys/file.h malloc.h sys/ioctl.h netinet/in.h sys/socket.h netdb.h netinet/tcp.h arpa/inet.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/configure.ac b/gdb/gdbserver/configure.ac index 87146c1..1c61843 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -79,7 +79,6 @@ ACX_CONFIGURE_DIR(["../gnulib"], ["build-gnulib-gdbserver"]) AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl proc_service.h sys/procfs.h linux/elf.h dnl - stdlib.h dnl errno.h fcntl.h signal.h sys/file.h malloc.h dnl sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl netinet/tcp.h arpa/inet.h) diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c index 1f823e0..c076323 100644 --- a/gdb/gdbserver/gdbreplay.c +++ b/gdb/gdbserver/gdbreplay.c @@ -35,9 +35,7 @@ #if HAVE_ERRNO_H #include <errno.h> #endif -#ifdef HAVE_STDLIB_H #include <stdlib.h> -#endif #include <string.h> #include <unistd.h> #ifdef HAVE_NETINET_IN_H |