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 53f8494d28fc55ce288bb6691bde00d008e6f68c..3b256b11c0955b70a612e05c456e86c172b1f5b7 100644 (file)
@@ -1,3 +1,8 @@
+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.
index b31b3b84261ccca86fd35540d210407fe6b943ed..9c6001e81e1292c9fc4ed521ba9656cfd80adae5 100644 (file)
@@ -34,5 +34,6 @@
 #include "ansidecl.h"
 #include "libiberty.h"
 #include "pathmax.h"
+#include "gdb/signals.h"
 
 #endif /* COMMON_DEFS_H */
index 189de74c6afd96a88340ea7c06955a6fecc2bb4b..a5a120425c4d89c644c55621c803c240cf557ecd 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 5c97425063ce46d1c6d2f69e193d46ffb46146fd..570bc954bacac7b244d99704accca6693fd50db6 100644 (file)
@@ -1,3 +1,8 @@
+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.
index fc973c1c13def14eda46d3e3c6490007f2e44bd8..98993f0fd26ec5973ffe4163e213c2d22781cd98 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 bc2506c95cda91a7ce73692f9dcdf4ff0db28479..2242d5c335e1da94a7bc4eb6aea17596928660d9 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"