aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-28 13:52:38 +0100
committerGary Benson <gbenson@redhat.com>2014-08-07 09:06:41 +0100
commitb939114242762636cfdcf9a45949cb54cdaacc8c (patch)
tree6cbac9bd5580f14360bbace7fb27f83b74eba43f /gdb/gdbserver
parent0e443c875f4f3f2dcaf9cc09d2518139fee0e76b (diff)
downloadgdb-b939114242762636cfdcf9a45949cb54cdaacc8c.zip
gdb-b939114242762636cfdcf9a45949cb54cdaacc8c.tar.gz
gdb-b939114242762636cfdcf9a45949cb54cdaacc8c.tar.bz2
Move libiberty.h to common-defs.h
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.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-bfin-low.c1
-rw-r--r--gdb/gdbserver/server.h1
3 files changed, 5 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 9d0c7b3..487ada9 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
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.
2014-08-07 Gary Benson <gbenson@redhat.com>
diff --git a/gdb/gdbserver/linux-bfin-low.c b/gdb/gdbserver/linux-bfin-low.c
index 03aa132..4c10cac 100644
--- a/gdb/gdbserver/linux-bfin-low.c
+++ b/gdb/gdbserver/linux-bfin-low.c
@@ -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. */
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 061cdcd..9ecd9e0 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -25,7 +25,6 @@
#include "wincecompat.h"
#endif
-#include "libiberty.h"
#include "version.h"
#ifdef HAVE_ERRNO_H