aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-28 14:21:31 +0100
committerGary Benson <gbenson@redhat.com>2014-08-07 09:06:43 +0100
commit3995eeeeacd9f6630d46e3d1be226365ef5a6652 (patch)
treec8839dabfd119ea0cdbf4280ea0fb326bdf63a98
parentcb9f1a9bcdd26a6f460a033e641804ba798937fc (diff)
downloadgdb-3995eeeeacd9f6630d46e3d1be226365ef5a6652.zip
gdb-3995eeeeacd9f6630d46e3d1be226365ef5a6652.tar.gz
gdb-3995eeeeacd9f6630d46e3d1be226365ef5a6652.tar.bz2
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 <gbenson@redhat.com> * common/common-defs.h: Include gdb_locale.h. * defs.h: Do not include gdb_locale.h. gdb/gdbserver/ 2014-08-07 Gary Benson <gbenson@redhat.com> * server.h: Do not include gdb_locale.h.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/common/common-defs.h1
-rw-r--r--gdb/defs.h2
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.h1
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 <gbenson@redhat.com>
+ * common/common-defs.h: Include gdb_locale.h.
+ * defs.h: Do not include gdb_locale.h.
+
+2014-08-07 Gary Benson <gbenson@redhat.com>
+
* 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 <fcntl.h>
-#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 <gbenson@redhat.com>
+ * server.h: Do not include gdb_locale.h.
+
+2014-08-07 Gary Benson <gbenson@redhat.com>
+
* 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 *). */