aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-dis.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index b9c82c7..4bfb679 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (PNI_Fixup): Update comment.
+ (VMX_Fixup): Properly handle the suffix check.
+
2005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* hppa-dis.c (print_insn_hppa): Add space after 'w' in wide-mode
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 692562d..ae16759 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -4419,7 +4419,7 @@ PNI_Fixup (int extrachar ATTRIBUTE_UNUSED, int sizeflag)
/* Override "sidt". */
char *p = obuf + strlen (obuf) - 4;
- /* We might have a suffix. */
+ /* We might have a suffix when disassembling with -Msuffix. */
if (*p == 'i')
--p;
@@ -4617,8 +4617,8 @@ VMX_Fixup (int extrachar ATTRIBUTE_UNUSED, int sizeflag)
/* Override "sgdt". */
char *p = obuf + strlen (obuf) - 4;
- /* We might have a suffix. */
- if (*p == 'i')
+ /* We might have a suffix when disassembling with -Msuffix. */
+ if (*p == 'g')
--p;
switch (rm)