Move gdb/signals.h to common-defs.h
authorGary Benson <gbenson@redhat.com>
Mon, 28 Jul 2014 13:09:12 +0000 (14:09 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 7 Aug 2014 08:06:42 +0000 (09:06 +0100)
This commit moves the inclusion of gdb/signals.h to common-defs.h and
removes all other inclusions.

gdb/
2014-08-07  Gary Benson  <gbenson@redhat.com>

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

gdb/gdbserver/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* server.h: Do not include gdb/signals.h.
* win32-low.c: Likewise.

gdb/ChangeLog
gdb/common/common-defs.h
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.h
gdb/gdbserver/win32-low.c

index 53f8494..3b256b1 100644 (file)
@@ -1,5 +1,10 @@
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
+       * common/common-defs.h: Include gdb/signals.h.
+       * defs.h: Do not include gdb/signals.h.
+
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
        * common/common-defs.h: Include pathmax.h.
        * defs.h: Do not include pathmax.h.
 
index b31b3b8..9c6001e 100644 (file)
@@ -34,5 +34,6 @@
 #include "ansidecl.h"
 #include "libiberty.h"
 #include "pathmax.h"
+#include "gdb/signals.h"
 
 #endif /* COMMON_DEFS_H */
index 189de74..a5a1204 100644 (file)
@@ -54,9 +54,6 @@
 
 #include "gdb_wchar.h"
 
-/* For ``enum gdb_signal''.  */
-#include "gdb/signals.h"
-
 #include "ui-file.h"
 
 #include "host-defs.h"
index 5c97425..570bc95 100644 (file)
@@ -1,5 +1,10 @@
 2014-08-07  Gary Benson  <gbenson@redhat.com>
 
+       * server.h: Do not include gdb/signals.h.
+       * win32-low.c: Likewise.
+
+2014-08-07  Gary Benson  <gbenson@redhat.com>
+
        * server.h: Do not include pathmax.h.
 
 2014-08-07  Gary Benson  <gbenson@redhat.com>
index fc973c1..98993f0 100644 (file)
@@ -84,7 +84,6 @@ typedef long long LONGEST;
 typedef unsigned long long ULONGEST;
 
 #include "regcache.h"
-#include "gdb/signals.h"
 #include "gdb_signals.h"
 #include "target.h"
 #include "mem-break.h"
index bc2506c..2242d5c 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "server.h"
 #include "regcache.h"
-#include "gdb/signals.h"
 #include "gdb/fileio.h"
 #include "mem-break.h"
 #include "win32-low.h"