aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
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/common
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/common')
-rw-r--r--gdb/common/common-defs.h1
-rw-r--r--gdb/common/common-exceptions.c1
2 files changed, 1 insertions, 1 deletions
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 {