aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/common-defs.h
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-30 15:31:10 +0100
committerGary Benson <gbenson@redhat.com>2014-08-19 10:07:19 +0100
commit9239eeabe340e1662c5df8f816785477309e1c0b (patch)
treeb2608885259ccabbe8ce2c73b32dbe8d69f14c42 /gdb/common/common-defs.h
parentef87c8bbe7d1c4a987578626655f4a15555c7f4a (diff)
downloadgdb-9239eeabe340e1662c5df8f816785477309e1c0b.zip
gdb-9239eeabe340e1662c5df8f816785477309e1c0b.tar.gz
gdb-9239eeabe340e1662c5df8f816785477309e1c0b.tar.bz2
Introduce common-types.h
This introduces common-types.h. This file defines various standard types used by gdb and gdbserver. Currently these types are conditionally defined based on GDBSERVER. The long term goal is to remove all such tests; however, this is difficult as currently gdb uses definitions from BFD. In the meantime this is still a step in the right direction. gdb/ChangeLog: * common/common-types.h: New file. * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. * common/common-defs.h: Include common-types.h. * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) (ULONGEST): Remove. gdb/gdbserver/ChangeLog: * server.h: Add static assertion. (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Remove.
Diffstat (limited to 'gdb/common/common-defs.h')
-rw-r--r--gdb/common/common-defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index a15423c..5543e4c 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -42,5 +42,6 @@
#include "common-utils.h"
#include "gdb_assert.h"
#include "errors.h"
+#include "common-types.h"
#endif /* COMMON_DEFS_H */