diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-25 16:29:40 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:37 +0100 |
commit | d02f550d39f0229f7c190e6509b3b466f1a60732 (patch) | |
tree | 7da74f2311bae86fd3383aa460d8a955c1986bee /gdb/gdbserver | |
parent | 7f59d2acb6971695c36a73ce4a061cdc4b892f29 (diff) | |
download | gdb-d02f550d39f0229f7c190e6509b3b466f1a60732.zip gdb-d02f550d39f0229f7c190e6509b3b466f1a60732.tar.gz gdb-d02f550d39f0229f7c190e6509b3b466f1a60732.tar.bz2 |
Move stdio.h to common-defs.h
This commit moves the inclusion of stdio.h to common-defs.h and
removes all other inclusions.
gdb/
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include stdio.h.
* defs.h: Do not include stdio.h.
* ada-lang.c: Likewise.
* common/buffer.c: Likewise.
* common/common-utils.c: Likewise.
* cp-name-parser.y: Likewise.
* gnu-nat.c: Likewise.
* go32-nat.c: Likewise.
* i386gnu-nat.c: Likewise.
* proc-api.c: Likewise.
* proc-events.c: Likewise.
* proc-flags.c: Likewise.
* proc-why.c: Likewise.
* python/python-internal.h: Likewise.
* target-memory.c: Likewise.
* tui/tui-io.c: Likewise.
* tui/tui.c: Likewise.
gdb/gdbserver/
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include stdio.h.
* linux-low.c: Likewise.
* remote-utils.c: Likewise.
* spu-low.c: Likewise.
* utils.c: Likewise.
* wincecompat.c: Likewise.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/server.h | 1 | ||||
-rw-r--r-- | gdb/gdbserver/spu-low.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/utils.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/wincecompat.c | 1 |
7 files changed, 9 insertions, 6 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 4508621..abdda14 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,12 @@ +2014-08-07 Gary Benson <gbenson@redhat.com> + + * server.h: Do not include stdio.h. + * linux-low.c: Likewise. + * remote-utils.c: Likewise. + * spu-low.c: Likewise. + * utils.c: Likewise. + * wincecompat.c: Likewise. + 2014-08-06 Gary Benson <gbenson@redhat.com> * regcache.c (init_register_cache): Move conditionals inside if. diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index e65e276..b309289 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -24,7 +24,6 @@ #include "nat/linux-nat.h" #include "nat/linux-waitpid.h" #include "gdb_wait.h" -#include <stdio.h> #include <sys/ptrace.h> #include "nat/linux-ptrace.h" #include "nat/linux-procfs.h" diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 4fcafa0..96d6038 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -24,7 +24,6 @@ #include "dll.h" #include "rsp-low.h" -#include <stdio.h> #include <string.h> #if HAVE_SYS_IOCTL_H #include <sys/ioctl.h> diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index ef66a32..743a368 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -30,7 +30,6 @@ #include "version.h" #include <stdarg.h> -#include <stdio.h> #include <stdlib.h> #ifdef HAVE_ERRNO_H #include <errno.h> diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c index 9bb0c40..67ff147 100644 --- a/gdb/gdbserver/spu-low.c +++ b/gdb/gdbserver/spu-low.c @@ -21,7 +21,6 @@ #include "server.h" #include "gdb_wait.h" -#include <stdio.h> #include <sys/ptrace.h> #include <fcntl.h> #include <string.h> diff --git a/gdb/gdbserver/utils.c b/gdb/gdbserver/utils.c index 2d0b331..b87bcc9 100644 --- a/gdb/gdbserver/utils.c +++ b/gdb/gdbserver/utils.c @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "server.h" -#include <stdio.h> #include <string.h> #include <stdlib.h> #if HAVE_ERRNO_H diff --git a/gdb/gdbserver/wincecompat.c b/gdb/gdbserver/wincecompat.c index 68f6aa9..7d45b30 100644 --- a/gdb/gdbserver/wincecompat.c +++ b/gdb/gdbserver/wincecompat.c @@ -18,7 +18,6 @@ #include "server.h" -#include <stdio.h> #include <windows.h> void |