[08/13] Move gdb/signals.h to common-defs.h
Commit Message
This commit moves the inclusion of gdb/signals.h to common-defs.h and
removes all other inclusions.
gdb/
2014-07-28 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include gdb/signals.h.
* defs.h: Do not include gdb/signals.h.
gdb/gdbserver/
2014-07-28 Gary Benson <gbenson@redhat.com>
* server.h: Do not include gdb/signals.h.
* win32-low.c: Likewise.
---
gdb/ChangeLog | 5 +++++
gdb/common/common-defs.h | 1 +
gdb/defs.h | 3 ---
gdb/gdbserver/ChangeLog | 5 +++++
gdb/gdbserver/server.h | 1 -
gdb/gdbserver/win32-low.c | 1 -
6 files changed, 11 insertions(+), 5 deletions(-)
@@ -34,5 +34,6 @@
#include "ansidecl.h"
#include "libiberty.h"
#include "pathmax.h"
+#include "gdb/signals.h"
#endif /* COMMON_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"
@@ -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"
@@ -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"