aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-10-08 09:33:22 +0100
committerGary Benson <gbenson@redhat.com>2014-10-08 09:33:22 +0100
commit6f1947e8a206a2664506ee5a333f7c9d0af8cac8 (patch)
tree5cdd3de52f8fc3df5ecdb65b5bbacaedc7bb105f /gdb
parentc765fdb902fd6dbdeaa476b49592a4d9f835d983 (diff)
downloadgdb-6f1947e8a206a2664506ee5a333f7c9d0af8cac8.zip
gdb-6f1947e8a206a2664506ee5a333f7c9d0af8cac8.tar.gz
gdb-6f1947e8a206a2664506ee5a333f7c9d0af8cac8.tar.bz2
Include cleanups.h in common-defs.h
This commit includes cleanups.h in common-defs.h and removes all other inclusions. gdb/ChangeLog: * common/common-defs.h: Include cleanups.h. * common/common-exceptions.c: Do not include cleanups.h. * utils.h: Likewise. gdb/gdbserver/ChangeLog: * server.h: Do not include cleanups.h.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/common/common-defs.h1
-rw-r--r--gdb/common/common-exceptions.c1
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.h1
-rw-r--r--gdb/utils.h1
6 files changed, 11 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 61ee15f..c0efb67 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2014-10-08 Gary Benson <gbenson@redhat.com>
+ * common/common-defs.h: Include cleanups.h.
+ * common/common-exceptions.c: Do not include cleanups.h.
+ * utils.h: Likewise.
+
+2014-10-08 Gary Benson <gbenson@redhat.com>
+
* ada-lang.c: Do not include exceptions.h.
* ada-valprint.c: Likewise.
* amd64-tdep.c: Likewise.
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index 2d3444b..ffcc4eb 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -45,5 +45,6 @@
#include "common-types.h"
#include "print-utils.h"
#include "common-debug.h"
+#include "cleanups.h"
#endif /* COMMON_DEFS_H */
diff --git a/gdb/common/common-exceptions.c b/gdb/common/common-exceptions.c
index c382d86..38216c8 100644
--- a/gdb/common/common-exceptions.c
+++ b/gdb/common/common-exceptions.c
@@ -19,7 +19,6 @@
#include "common-defs.h"
#include "common-exceptions.h"
-#include "cleanups.h"
/* Possible catcher states. */
enum catcher_state {
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index aa56dce..b9d4059 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-08 Gary Benson <gbenson@redhat.com>
+
+ * server.h: Do not include cleanups.h.
+
2014-09-30 James Hogan <james.hogan@imgtec.com>
* Makefile.in (clean): Add rm -f commands for mips-dsp-linux.c and
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index ed54f77..de3142f 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -125,6 +125,5 @@ extern int handle_target_event (int err, gdb_client_data client_data);
#define PBUFSIZ 16384
#include "common-exceptions.h"
-#include "cleanups.h"
#endif /* SERVER_H */
diff --git a/gdb/utils.h b/gdb/utils.h
index c1948eb..1568011 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -21,7 +21,6 @@
#ifndef UTILS_H
#define UTILS_H
-#include "cleanups.h"
#include "exceptions.h"
extern void initialize_utils (void);