aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-01-14 05:15:06 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-01-14 05:15:06 +0000
commit0d6a2f58b829888e9a7fb9ad048ec6be6aeb3dfc (patch)
treece9a60d8c87b6c5c22502ddbb47c3ebc32d8f4c5 /opcodes
parentce772e9db5205e728e8802d759320925a558500b (diff)
downloadgdb-0d6a2f58b829888e9a7fb9ad048ec6be6aeb3dfc.zip
gdb-0d6a2f58b829888e9a7fb9ad048ec6be6aeb3dfc.tar.gz
gdb-0d6a2f58b829888e9a7fb9ad048ec6be6aeb3dfc.tar.bz2
2008-01-13 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.h (Byte): Fix a typo.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-opc.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index ca144ea..453d3a7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-opc.h (Byte): Fix a typo.
+
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 63a027c..92c3ebd 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -353,7 +353,7 @@ typedef struct i386_opcode_modifier
be encoded in the regmem field. */
#define RegMem (EsSeg + 1)
/* BYTE memory. */
-#define Byte (RegMem)
+#define Byte (RegMem + 1)
/* WORD memory. 2 byte */
#define Word (Byte + 1)
/* DWORD memory. 4 byte */