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.
This commit is contained in:
Gary Benson 2014-07-28 14:09:12 +01:00
parent a5fceff840
commit cb9f1a9bcd
6 changed files with 11 additions and 5 deletions

View 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.

View File

@ -34,5 +34,6 @@
#include "ansidecl.h"
#include "libiberty.h"
#include "pathmax.h"
#include "gdb/signals.h"
#endif /* COMMON_DEFS_H */

View 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"

View 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.

View 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"

View 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"