From 3995eeeeacd9f6630d46e3d1be226365ef5a6652 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Mon, 28 Jul 2014 14:21:31 +0100 Subject: Move gdb_locale.h to common-defs.h This commit moves the inclusion of gdb_locale.h to common-defs.h and removes all other inclusions. gdb/ 2014-08-07 Gary Benson * common/common-defs.h: Include gdb_locale.h. * defs.h: Do not include gdb_locale.h. gdb/gdbserver/ 2014-08-07 Gary Benson * server.h: Do not include gdb_locale.h. --- gdb/ChangeLog | 5 +++++ gdb/common/common-defs.h | 1 + gdb/defs.h | 2 -- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/server.h | 1 - 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3b256b1..d99b321 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2014-08-07 Gary Benson + * common/common-defs.h: Include gdb_locale.h. + * defs.h: Do not include gdb_locale.h. + +2014-08-07 Gary Benson + * common/common-defs.h: Include gdb/signals.h. * defs.h: Do not include gdb/signals.h. diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 9c6001e..c0fbb0d 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -35,5 +35,6 @@ #include "libiberty.h" #include "pathmax.h" #include "gdb/signals.h" +#include "gdb_locale.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/defs.h b/gdb/defs.h index a5a1204..23f875e 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -50,8 +50,6 @@ #include -#include "gdb_locale.h" - #include "gdb_wchar.h" #include "ui-file.h" diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 570bc95..5ca4ffa 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,9 @@ 2014-08-07 Gary Benson + * server.h: Do not include gdb_locale.h. + +2014-08-07 Gary Benson + * server.h: Do not include gdb/signals.h. * win32-low.c: Likewise. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 98993f0..7c0b80a 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -74,7 +74,6 @@ typedef unsigned char gdb_byte; #include "ptid.h" #include "buffer.h" #include "xml-utils.h" -#include "gdb_locale.h" /* FIXME: This should probably be autoconf'd for. It's an integer type at least the size of a (void *). */ -- cgit v1.1