diff options
author | Pedro Alves <palves@redhat.com> | 2013-07-01 11:19:27 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-07-01 11:19:27 +0000 |
commit | bc7dea8de974648cd4e38d154abcca6879e630cc (patch) | |
tree | 04a5357b0560fa7271fc532290aeab6f04ded93c /gdb/gdbserver/ChangeLog | |
parent | 8839a007adc2aaf3a5278cbe8e0e85f827360a87 (diff) | |
download | gdb-bc7dea8de974648cd4e38d154abcca6879e630cc.zip gdb-bc7dea8de974648cd4e38d154abcca6879e630cc.tar.gz gdb-bc7dea8de974648cd4e38d154abcca6879e630cc.tar.bz2 |
Rely on gnulib's unistd.h replacement.
With gnulib's unistd module, we can assume unistd.h is always present, and that
STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO are always defined.
Don't remove unistd.h from GDB's configure.ac, as later tests in the
file use HAVE_UNISTD_H checks.
gdb/
2013-07-01 Pedro Alves <palves@redhat.com>
* defs.h: Don't check HAVE_UNISTD_H before including <unistd.h>.
(STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Delete.
* tracepoint.c: Don't check HAVE_UNISTD_H before including
<unistd.h>.
gdb/gdbserver/
2013-07-01 Pedro Alves <palves@redhat.com>
* event-loop.c: Don't check HAVE_UNISTD_H before including
<unistd.h>.
* gdbreplay.c: Likewise.
* remote-utils.c: Likewise.
* server.c: Likewise.
* configure.ac: Don't check for unistd.h.
* configure: Regenerate.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 8f73480..11ae9f3 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,13 @@ +2013-07-01 Pedro Alves <palves@redhat.com> + + * event-loop.c: Don't check HAVE_UNISTD_H before including + <unistd.h>. + * gdbreplay.c: Likewise. + * remote-utils.c: Likewise. + * server.c: Likewise. + * configure.ac: Don't check for unistd.h. + * configure: Regenerate. + 2013-06-28 Tom Tromey <tromey@redhat.com> * Makefile.in (version.c): Use version.in, not |