From: Gary Benson Date: Mon, 28 Jul 2014 13:09:12 +0000 (+0100) Subject: Move gdb/signals.h to common-defs.h X-Git-Tag: binutils-2_25~643 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb9f1a9bcdd26a6f460a033e641804ba798937fc;p=external%2Fbinutils.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 53f8494..3b256b1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. * 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 + * server.h: Do not include gdb/signals.h. + * win32-low.c: Likewise. + +2014-08-07 Gary Benson + * server.h: Do not include pathmax.h. 2014-08-07 Gary Benson 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"