diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-10-31 23:41:12 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-10-31 23:41:12 +0000 |
commit | 1b0d430b05b565a41786ce6bdd848f0ebb63a996 (patch) | |
tree | f319d8d6e352f7789b0c4d1bbc2fe0511dc5412c /opcodes | |
parent | 69ff3588199e5e65673be8c5d6345953c1330926 (diff) | |
download | gdb-1b0d430b05b565a41786ce6bdd848f0ebb63a996.zip gdb-1b0d430b05b565a41786ce6bdd848f0ebb63a996.tar.gz gdb-1b0d430b05b565a41786ce6bdd848f0ebb63a996.tar.bz2 |
2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
(USE_REG_TABLE): Likewise.
(USE_MOD_TABLE): Likewise.
(USE_RM_TABLE): Likewise.
(USE_PREFIX_TABLE): Likewise.
(USE_X86_64_TABLE): Likewise.
(USE_3BYTE_TABLE): Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 10 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 14 |
2 files changed, 17 insertions, 7 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 760fd9d..6a370d0 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,13 @@ +2007-10-31 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1. + (USE_REG_TABLE): Likewise. + (USE_MOD_TABLE): Likewise. + (USE_RM_TABLE): Likewise. + (USE_PREFIX_TABLE): Likewise. + (USE_X86_64_TABLE): Likewise. + (USE_3BYTE_TABLE): Likewise. + 2007-10-26 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 921883b..c169343 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -455,13 +455,13 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr) #error MAX_BYTEMODE must be less than DREX_OC1 #endif -#define FLOATCODE 1 -#define USE_REG_TABLE 2 -#define USE_MOD_TABLE 3 -#define USE_RM_TABLE 4 -#define USE_PREFIX_TABLE 5 -#define USE_X86_64_TABLE 6 -#define USE_3BYTE_TABLE 7 +#define FLOATCODE 1 +#define USE_REG_TABLE (FLOATCODE + 1) +#define USE_MOD_TABLE (USE_REG_TABLE + 1) +#define USE_RM_TABLE (USE_MOD_TABLE + 1) +#define USE_PREFIX_TABLE (USE_RM_TABLE + 1) +#define USE_X86_64_TABLE (USE_PREFIX_TABLE + 1) +#define USE_3BYTE_TABLE (USE_X86_64_TABLE + 1) #define FLOAT NULL, { { NULL, FLOATCODE } } |