From: Gary Benson Date: Mon, 28 Jul 2014 13:09:12 +0000 (+0100) Subject: Move gdb/signals.h to common-defs.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb9f1a9bcdd26a6f460a033e641804ba798937fc;p=binutils-gdb.git 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 * common/common-defs.h: Include gdb/signals.h. * defs.h: Do not include gdb/signals.h. gdb/gdbserver/ 2014-08-07 Gary Benson * server.h: Do not include gdb/signals.h. * win32-low.c: Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 53f8494d28f..3b256b11c09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-08-07 Gary Benson + + * common/common-defs.h: Include gdb/signals.h. + * defs.h: Do not include gdb/signals.h. + 2014-08-07 Gary Benson * common/common-defs.h: Include pathmax.h. diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index b31b3b84261..9c6001e81e1 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 189de74c6af..a5a120425c4 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 5c97425063c..570bc954bac 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2014-08-07 Gary Benson + + * server.h: Do not include gdb/signals.h. + * win32-low.c: Likewise. + 2014-08-07 Gary Benson * server.h: Do not include pathmax.h. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index fc973c1c13d..98993f0fd26 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 bc2506c95cd..2242d5c335e 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"