Include common-exceptions.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 common-exceptions.h in common-defs.h and removes
all other inclusions.

gdb/ChangeLog:

* common/common-defs.h: Include common-exceptions.h.
* exceptions.h: Do not include common-exceptions.h.

gdb/gdbserver/ChangeLog:

* server.h: Do not include common-exceptions.h.

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

index c0efb67..9b74d16 100644 (file)
@@ -1,5 +1,10 @@
 2014-10-08  Gary Benson  <gbenson@redhat.com>
 
+       * common/common-defs.h: Include common-exceptions.h.
+       * exceptions.h: Do not include common-exceptions.h.
+
+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.
index ffcc4eb..29c8ab3 100644 (file)
@@ -46,5 +46,6 @@
 #include "print-utils.h"
 #include "common-debug.h"
 #include "cleanups.h"
+#include "common-exceptions.h"
 
 #endif /* COMMON_DEFS_H */
index 00d2b61..f4d62a6 100644 (file)
@@ -20,7 +20,6 @@
 #ifndef EXCEPTIONS_H
 #define EXCEPTIONS_H
 
-#include "common-exceptions.h"
 #include "ui-out.h"
 
 /* A pre-defined non-exception.  */
index b9d4059..ae02861 100644 (file)
@@ -1,5 +1,9 @@
 2014-10-08  Gary Benson  <gbenson@redhat.com>
 
+       * server.h: Do not include common-exceptions.h.
+
+2014-10-08  Gary Benson  <gbenson@redhat.com>
+
        * server.h: Do not include cleanups.h.
 
 2014-09-30  James Hogan  <james.hogan@imgtec.com>
index de3142f..cac73e9 100644 (file)
@@ -124,6 +124,4 @@ extern int handle_target_event (int err, gdb_client_data client_data);
    as large as the largest register set supported by gdbserver.  */
 #define PBUFSIZ 16384
 
-#include "common-exceptions.h"
-
 #endif /* SERVER_H */