diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-07-19 04:11:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-07-19 04:11:19 +0000 |
commit | 22cbf2e74af43dfe9ff6f8e141ffc5f8c8b679ed (patch) | |
tree | 15157f8ce916aa29a36a9fc1e0ec243c7e27c7b4 /opcodes | |
parent | 18b3bdfca08aa6e11b2dd3ef761ba46e5d801af9 (diff) | |
download | gdb-22cbf2e74af43dfe9ff6f8e141ffc5f8c8b679ed.zip gdb-22cbf2e74af43dfe9ff6f8e141ffc5f8c8b679ed.tar.gz gdb-22cbf2e74af43dfe9ff6f8e141ffc5f8c8b679ed.tar.bz2 |
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')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 6 |
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) |