diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-28 14:21:31 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:43 +0100 |
commit | 3995eeeeacd9f6630d46e3d1be226365ef5a6652 (patch) | |
tree | c8839dabfd119ea0cdbf4280ea0fb326bdf63a98 | |
parent | cb9f1a9bcdd26a6f460a033e641804ba798937fc (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/common/common-defs.h | 1 | ||||
-rw-r--r-- | gdb/defs.h | 2 | ||||
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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 */ @@ -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 *). */ |