From 3995eeeeacd9f6630d46e3d1be226365ef5a6652 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Mon, 28 Jul 2014 14:21:31 +0100 Subject: [PATCH] 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 3b256b11c09..d99b3213966 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 9c6001e81e1..c0fbb0db8d7 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 a5a120425c4..23f875edda7 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 570bc954bac..5ca4ffaada2 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 98993f0fd26..7c0b80a9fa0 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 *). */ -- 2.30.2