diff options
author | Doug Evans <dje@google.com> | 2009-11-23 03:56:29 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-11-23 03:56:29 +0000 |
commit | 1fbb9298a46e1bf9eca8fe24027102cf2fcf01fc (patch) | |
tree | 26d3db2244460546667398f969dde3d6c25b0afe /include/opcode | |
parent | 89f86f9d7518d16a1fbf0d32d6ca5e1847d73a04 (diff) | |
download | gdb-1fbb9298a46e1bf9eca8fe24027102cf2fcf01fc.zip gdb-1fbb9298a46e1bf9eca8fe24027102cf2fcf01fc.tar.gz gdb-1fbb9298a46e1bf9eca8fe24027102cf2fcf01fc.tar.bz2 |
* cgen.h: Include bfd_stdint.h.
(CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/cgen.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 51120ff..79ceb03 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2009-11-22 Doug Evans <dje@sebabeach.org> + + * cgen.h: Include bfd_stdint.h. + (CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types. + 2009-11-18 Paul Brook <paul@codesourcery.com> * arm.h (FPU_VFP_V4_SP_D16, FPU_ARCH_VFP_V4_SP_D16): Define. diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h index 0d9fa71..bf9ec60 100644 --- a/include/opcode/cgen.h +++ b/include/opcode/cgen.h @@ -25,6 +25,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "symcat.h" #include "cgen/bitset.h" +/* ??? IWBN to replace bfd in the name. */ +#include "bfd_stdint.h" + /* ??? This file requires bfd.h but only to get bfd_vma. Seems like an awful lot to require just to get such a fundamental type. Perhaps the definition of bfd_vma can be moved outside of bfd.h. @@ -66,6 +69,9 @@ with this program; if not, write to the Free Software Foundation, Inc., when an array of characters the value is in target byte order. */ typedef unsigned int CGEN_INSN_INT; +typedef int64_t CGEN_INSN_LGSINT; /* large/long SINT */ +typedef uint64_t CGEN_INSN_LGUINT; /* large/long UINT */ + #if CGEN_INT_INSN_P typedef CGEN_INSN_INT CGEN_INSN_BYTES; typedef CGEN_INSN_INT *CGEN_INSN_BYTES_PTR; |