aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-28 14:09:12 +0100
committerGary Benson <gbenson@redhat.com>2014-08-07 09:06:42 +0100
commitcb9f1a9bcdd26a6f460a033e641804ba798937fc (patch)
tree4e4a9e0be5c3e1db91d6f994e6bd8a0a700bafc8
parenta5fceff840e2928ee7a5cc34196b639d7e65016b (diff)
downloadgdb-cb9f1a9bcdd26a6f460a033e641804ba798937fc.zip
gdb-cb9f1a9bcdd26a6f460a033e641804ba798937fc.tar.gz
gdb-cb9f1a9bcdd26a6f460a033e641804ba798937fc.tar.bz2
Move gdb/signals.h to common-defs.h
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/common/common-defs.h1
-rw-r--r--gdb/defs.h3
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/server.h1
-rw-r--r--gdb/gdbserver/win32-low.c1
6 files changed, 11 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 53f8494..3b256b1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index b31b3b8..9c6001e 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -34,5 +34,6 @@
#include "ansidecl.h"
#include "libiberty.h"
#include "pathmax.h"
+#include "gdb/signals.h"
#endif /* COMMON_DEFS_H */
diff --git a/gdb/defs.h b/gdb/defs.h
index 189de74..a5a1204 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -54,9 +54,6 @@
#include "gdb_wchar.h"
-/* For ``enum gdb_signal''. */
-#include "gdb/signals.h"
-
#include "ui-file.h"
#include "host-defs.h"
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 5c97425..570bc95 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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>
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index fc973c1..98993f0 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -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"
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c
index bc2506c..2242d5c 100644
--- a/gdb/gdbserver/win32-low.c
+++ b/gdb/gdbserver/win32-low.c
@@ -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"