This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 09/13] 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-07-28  Gary Benson  <gbenson@redhat.com>

	* common/common-defs.h: Include gdb_locale.h.
	* defs.h: Do not include gdb_locale.h.

gdb/gdbserver/
2014-07-28  Gary Benson  <gbenson@redhat.com>

	* 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/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 <fcntl.h>
 
-#include "gdb_locale.h"
-
 #include "gdb_wchar.h"
 
 #include "ui-file.h"
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 *).  */
-- 
1.7.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]