Move libiberty.h to common-defs.h
authorGary Benson <gbenson@redhat.com>
Mon, 28 Jul 2014 12:52:38 +0000 (13:52 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 7 Aug 2014 08:06:41 +0000 (09:06 +0100)
This commit moves the inclusion of libiberty.h to common-defs.h and
removes all other inclusions.

gdb/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* common/common-defs.h: Include libiberty.h.
* defs.h: Do not include libiberty.h.
* common/queue.h: Likewise.
* cp-name-parser.y: Likewise.
* mi/mi-cmd-catch.c: Likewise.
* python/python.c: Likewise.

gdb/gdbserver/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* server.h: Do not include libiberty.h.
* linux-bfin-low.c: Likewise.

gdb/ChangeLog
gdb/common/common-defs.h
gdb/common/queue.h
gdb/cp-name-parser.y
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-bfin-low.c
gdb/gdbserver/server.h
gdb/mi/mi-cmd-catch.c
gdb/python/python.c

index 422a5d8ce59a47f5956f6f681af10946c34774e5..6e6143ba21981ca0fd406c4a20d1bdd356ab4fc3 100644 (file)
@@ -1,3 +1,12 @@
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
+       * common/common-defs.h: Include libiberty.h.
+       * defs.h: Do not include libiberty.h.
+       * common/queue.h: Likewise.
+       * cp-name-parser.y: Likewise.
+       * mi/mi-cmd-catch.c: Likewise.
+       * python/python.c: Likewise.
+
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
        * common/common-defs.h: Include ansidecl.h.
index 8106e68ed1a548ed33df5bf9d58193eed4578982..eedc318cac668d33b9e51c2453c65469d29748db 100644 (file)
@@ -32,5 +32,6 @@
 #include <stdarg.h>
 #include <stddef.h>
 #include "ansidecl.h"
+#include "libiberty.h"
 
 #endif /* COMMON_DEFS_H */
index 4ce53c3c7c7b069ace399eb6ff4ade4c58315381..34e4db386664579bfa2ac11bb088738fa585e8be 100644 (file)
@@ -20,7 +20,6 @@
 #ifndef QUEUE_H
 #define QUEUE_H
 
-#include "libiberty.h" /* xmalloc */
 #include "gdb_assert.h"
 
 /* These macros implement functions and structs for a general queue.
index 3199aff6c6dd271d896d7506700725c805c61548..0caadfa85e092954c55cde1e02958690f5b906e0 100644 (file)
@@ -35,7 +35,6 @@
 #include <string.h>
 
 #include "safe-ctype.h"
-#include "libiberty.h"
 #include "demangle.h"
 #include "cp-support.h"
 #include "gdb_assert.h"
index b7b6de90ff8cedf9b61bb294cfaff599f848638e..d9775e32843a644ef777be552c3b4d1d6f77eb0c 100644 (file)
@@ -83,7 +83,6 @@
 #define O_BINARY 0
 #endif
 
-#include "libiberty.h"
 #include "hashtab.h"
 
 /* Rather than duplicate all the logic in BFD for figuring out what
index 9d0c7b36627383a24b8ca7a865d5dbbe23b3004e..487ada9890a2f28ca464a9077b046d3404b7ac3b 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
+       * server.h: Do not include libiberty.h.
+       * linux-bfin-low.c: Likewise.
+
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
        * server.h: Do not include ansidecl.h.
index 03aa13253b9aff76544b60e4301ac74825e8becd..4c10cace9d7ac99707d580e6f50b747bcaf0673c 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "server.h"
 #include "linux-low.h"
-#include "libiberty.h"
 #include <asm/ptrace.h>
 
 /* Defined in auto-generated file reg-bfin.c.  */
index 061cdcdb29ca26760aa7f74ea0cbd29dcf4d15c6..9ecd9e02c9da022e2507e279bf03f8b5cbc5946e 100644 (file)
@@ -25,7 +25,6 @@
 #include "wincecompat.h"
 #endif
 
-#include "libiberty.h"
 #include "version.h"
 
 #ifdef HAVE_ERRNO_H
index 038df5969bdb1fd76b342ba85c790c65313ea978..6c63058e7ee256085c47cac8394e90877550895a 100644 (file)
@@ -22,7 +22,6 @@
 #include "arch-utils.h"
 #include "breakpoint.h"
 #include "gdb.h"
-#include "libiberty.h"
 #include "ada-lang.h"
 #include "mi-cmds.h"
 #include "mi-getopt.h"
index 369a2497809b7b1e82fee6d916a419ef259f293a..40c4ec97943f7d5b33208d667ec749cdaa677290 100644 (file)
@@ -86,7 +86,6 @@ const struct extension_language_defn extension_language_python =
 \f
 #ifdef HAVE_PYTHON
 
-#include "libiberty.h"
 #include "cli/cli-decode.h"
 #include "charset.h"
 #include "top.h"
This page took 0.04142 seconds and 4 git commands to generate.