summaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-07-19 04:11:18 +0000
committerH.J. Lu <hjl@lucon.org>2005-07-19 04:11:18 +0000
commit8210f7d5bb79e77e363f7a719c903c74a1ae0134 (patch)
tree8f15e93a64fa08df44b94a2b4cd631d3ca8c5ca7 /opcodes/i386-dis.c
parentb45dcc957480690d24e65121f7bbccc1a946a2f7 (diff)
downloadgdb-8210f7d5bb79e77e363f7a719c903c74a1ae0134.tar.gz
gas/testsuite/
2005-07-18 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Add suffix. * gas/i386/suffix.d: New file. * gas/i386/suffix.s: Likewise. opcodes/ 2005-07-18 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (PNI_Fixup): Update comment. (VMX_Fixup): Properly handle the suffix check.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 692562d990f..ae16759c286 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)