Include cleanups.h in common-defs.h
authorGary Benson <gbenson@redhat.com>
Wed, 8 Oct 2014 08:33:22 +0000 (09:33 +0100)
committerGary Benson <gbenson@redhat.com>
Wed, 8 Oct 2014 08:33:22 +0000 (09:33 +0100)
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.

gdb/ChangeLog
gdb/common/common-defs.h
gdb/common/common-exceptions.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.h
gdb/utils.h

index 61ee15f..c0efb67 100644 (file)
@@ -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.
index 2d3444b..ffcc4eb 100644 (file)
@@ -45,5 +45,6 @@
 #include "common-types.h"
 #include "print-utils.h"
 #include "common-debug.h"
+#include "cleanups.h"
 
 #endif /* COMMON_DEFS_H */
index c382d86..38216c8 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "common-defs.h"
 #include "common-exceptions.h"
-#include "cleanups.h"
 
 /* Possible catcher states.  */
 enum catcher_state {
index aa56dce..b9d4059 100644 (file)
@@ -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
index ed54f77..de3142f 100644 (file)
@@ -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 */
index c1948eb..1568011 100644 (file)
@@ -21,7 +21,6 @@
 #ifndef UTILS_H
 #define UTILS_H
 
-#include "cleanups.h"
 #include "exceptions.h"
 
 extern void initialize_utils (void);