]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Move stdio.h to common-defs.h
authorGary Benson <gbenson@redhat.com>
Fri, 25 Jul 2014 15:29:40 +0000 (16:29 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 7 Aug 2014 08:06:37 +0000 (09:06 +0100)
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.

25 files changed:
gdb/ChangeLog
gdb/ada-lang.c
gdb/common/buffer.c
gdb/common/common-defs.h
gdb/common/common-utils.c
gdb/cp-name-parser.y
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.h
gdb/gdbserver/spu-low.c
gdb/gdbserver/utils.c
gdb/gdbserver/wincecompat.c
gdb/gnu-nat.c
gdb/go32-nat.c
gdb/i386gnu-nat.c
gdb/proc-api.c
gdb/proc-events.c
gdb/proc-flags.c
gdb/proc-why.c
gdb/python/python-internal.h
gdb/target-memory.c
gdb/tui/tui-io.c
gdb/tui/tui.c

index c667f3ed5fda4389a350966b984f25a5787023fd..a6a46d96a47ce0b5c4ff9d1b85a4c706474e35c1 100644 (file)
@@ -1,3 +1,23 @@
+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.
+
 2014-08-06  Simon Marchi  <simon.marchi@ericsson.com>
 
        * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
index 6956909badf766c72955002dff9f1706f3841308..bf39f6b119ad6b534df3da949aea0c92c8d1b031 100644 (file)
@@ -19,7 +19,6 @@
 
 
 #include "defs.h"
-#include <stdio.h>
 #include <string.h>
 #include <ctype.h>
 #include <stdarg.h>
index 4d9edb88317af8e9428ea6e4a37e87a7e46885ec..a50c890579587aa7ab5e13a008fcb7f6bd915e4b 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <stdio.h>
 #include <stdint.h>
 
 void
index 9e397d91b19b1b46d8f6a4e325e05f48401b7418..0fc7af52965de9a8848c1c71b253847d5a8f10c0 100644 (file)
@@ -27,4 +27,6 @@
 #include "build-gnulib/config.h"
 #endif
 
+#include <stdio.h>
+
 #endif /* COMMON_DEFS_H */
index 29fe2c516c118197875fa0f1aac12cc400987d90..41ef2895d1f94cdd10d240ce89bc6e0f274ce78d 100644 (file)
@@ -27,7 +27,6 @@
 #include <string.h>
 
 #include <stdlib.h>
-#include <stdio.h>
 
 /* The xmalloc() (libiberty.h) family of memory management routines.
 
index 7d9d925d5f5195a332659de3b816192f0a45e76a..6a9d13d448af6f3f8ee0428305131220de4dac54 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "defs.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
index 422c4e8522e4f4128fed8eebde45ff16fe94c830..49e45b80586db2399ff5449af8642a17cf4af441 100644 (file)
@@ -28,7 +28,6 @@
 #include "common-defs.h"
 
 #include <sys/types.h>
-#include <stdio.h>
 #include <errno.h>             /* System call error return status.  */
 #include <limits.h>
 #include <stdint.h>
index 450862182f3afd6858041e7b76f25b1e55e3cc55..abdda147274c5788fa49ed7249bbcbba7834bb8b 100644 (file)
@@ -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.
index e65e27603717c64d7f27eb9b851c1d82d4de2675..b3092890afa60fefccdeffaecf09ff6a115e616b 100644 (file)
@@ -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"
index 4fcafa0b2b9c4248b4d38080b9214f73cfca725d..96d6038a0f6e3abdc89246f59266de08bc15e182 100644 (file)
@@ -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>
index ef66a32fd40ed554d1eac14b1a5821035dcd6db9..743a368de21126d61612e59409f4651d3835a9df 100644 (file)
@@ -30,7 +30,6 @@
 #include "version.h"
 
 #include <stdarg.h>
-#include <stdio.h>
 #include <stdlib.h>
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
index 9bb0c4050d124ae064b6ba875d8330003f0c510c..67ff1474470934635268cb0374b03ff65793b860 100644 (file)
@@ -21,7 +21,6 @@
 #include "server.h"
 
 #include "gdb_wait.h"
-#include <stdio.h>
 #include <sys/ptrace.h>
 #include <fcntl.h>
 #include <string.h>
index 2d0b3319f6ae11a7768e1dd61f873029babb29e8..b87bcc90bac11fd9c770175b986307bf4d77bbf2 100644 (file)
@@ -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
index 68f6aa965a978ab84cdd1f82ebf5b29aa326ecdb..7d45b3079e67b6a1abc3210f115a10af5eec9ebd 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "server.h"
 
-#include <stdio.h>
 #include <windows.h>
 
 void
index 176f4a1fcc3863991122d9dd04549354e1d86f53..a2de2f107cbb4c8192a1d7b8b2ee19b6630f3b21 100644 (file)
@@ -27,7 +27,6 @@
 #include <limits.h>
 #include <setjmp.h>
 #include <signal.h>
-#include <stdio.h>
 #include <string.h>
 #include <sys/ptrace.h>
 
index b2570e848ab636871fb61999275645899f5debc2..42133d6af469da4dc2854924e8aa9edeea00a853 100644 (file)
 #include "cli/cli-utils.h"
 #include "inf-child.h"
 
-#include <stdio.h>             /* might be required for __DJGPP_MINOR__ */
 #include <stdlib.h>
 #include <ctype.h>
 #include <errno.h>
index d0a610b05888aab4e57c74f5244251f96a60be6f..23a70b37c9ddf24948efbfa210bc89509d758438 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "gdb_assert.h"
 #include <errno.h>
-#include <stdio.h>
 #include <string.h>
 
 #include <mach.h>
index 2ae7b84b2e0be88bf928afa8410c7d83cbe110f6..c4aecc4421dfce0d4adb89c3ed87553378a59c0b 100644 (file)
@@ -34,7 +34,6 @@
 #define _STRUCTURED_PROC 1
 #endif
 
-#include <stdio.h>
 #include <sys/types.h>
 #include <sys/procfs.h>
 #ifdef HAVE_SYS_PROC_H
index 68f004f32d1d09e6af49201a17575c904925a545..bc494c352a6f40fda6632ea1c197958947bddbd0 100644 (file)
@@ -34,7 +34,6 @@
 #define _STRUCTURED_PROC 1
 #endif
 
-#include <stdio.h>
 #include <sys/types.h>
 #include <sys/procfs.h>
 #ifdef HAVE_SYS_SYSCALL_H
index 7c37e357cc3f5a128e39681a7a15f65e9c050af8..31af26d7becfec134287f675cbdeb374b4664e3d 100644 (file)
@@ -31,7 +31,6 @@
 #define _STRUCTURED_PROC 1
 #endif
 
-#include <stdio.h>
 #include <sys/types.h>
 #include <sys/procfs.h>
 
index 72c28e1c276c9b6cea5436d67795d598df081835..c053c9ecc0fccbabc369145449aac11d3c295685 100644 (file)
@@ -24,7 +24,6 @@
 #define _STRUCTURED_PROC 1
 #endif
 
-#include <stdio.h>
 #include <sys/types.h>
 #include <sys/procfs.h>
 
index b7298d9362893b062c84fd99125b272f5d8d850b..6e7e60000a0e8c15785512d5e52859285a9210e2 100644 (file)
@@ -62,8 +62,6 @@
 #define CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION
 #endif
 
-#include <stdio.h>
-
 /* Python 2.4 doesn't include stdint.h soon enough to get {u,}intptr_t
    needed by pyport.h.  */
 #include <stdint.h>
index 1c6cd4005f3ab1a84de5255b91efd0cd648ca5d7..583d337de36c7b56bf36389c1d753acbac66d4be 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "gdb_assert.h"
 
-#include <stdio.h>
 #include <sys/time.h>
 
 static int
index 75eb4b85071821defb4d99d3204eee0cf54666a4..a890678d317e85f4d79942d1995897ccd08867d3 100644 (file)
@@ -36,7 +36,6 @@
 #include "cli-out.h"
 #include <fcntl.h>
 #include <signal.h>
-#include <stdio.h>
 #include "filestuff.h"
 
 #include "gdb_curses.h"
index c30b76cfc230d3e1f01d317706708b5d4c8735af..413ec204fa708ef6e832e740c5116b86836412e6 100644 (file)
@@ -38,7 +38,6 @@
 #include "symtab.h"
 #include "source.h"
 
-#include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <signal.h>