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.
This commit is contained in:
Gary Benson 2014-07-28 14:21:31 +01:00
parent cb9f1a9bcd
commit 3995eeeeac
5 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -35,5 +35,6 @@
#include "libiberty.h"
#include "pathmax.h"
#include "gdb/signals.h"
#include "gdb_locale.h"
#endif /* COMMON_DEFS_H */

View File

@ -50,8 +50,6 @@
#include <fcntl.h>
#include "gdb_locale.h"
#include "gdb_wchar.h"
#include "ui-file.h"

View File

@ -1,3 +1,7 @@
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.

View File

@ -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 *). */