aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-01-13 16:06:12 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-01-13 16:06:12 +0000
commit5e6718e49cb919fc92a045c3e1fd69b47573e170 (patch)
treea7acf22c34c7d39bddbc2ea128bb304635fff30d /opcodes
parent91b9a4a49bdd97dcf8ade3b3819f37646e0806d1 (diff)
downloadgdb-5e6718e49cb919fc92a045c3e1fd69b47573e170.zip
gdb-5e6718e49cb919fc92a045c3e1fd69b47573e170.tar.gz
gdb-5e6718e49cb919fc92a045c3e1fd69b47573e170.tar.bz2
Update comments
2010-01-13 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (print_insn): Update comments.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-dis.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9c9334b..8c2b523 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (print_insn): Update comments.
+
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (rex_original): Removed.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index fc7859a..40f10ac 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -12339,19 +12339,19 @@ print_insn (bfd_vma pc, disassemble_info *info)
if (rex_ignored == 0 && (rex ^ rex_used) == 0)
all_prefixes[last_rex_prefix] = 0;
- /* Check if the SEG prefix used. */
+ /* Check if the SEG prefix is used. */
if ((prefixes & (PREFIX_CS | PREFIX_SS | PREFIX_DS | PREFIX_ES
| PREFIX_FS | PREFIX_GS)) != 0
&& (used_prefixes
& seg_prefix (all_prefixes[last_seg_prefix])) != 0)
all_prefixes[last_seg_prefix] = 0;
- /* Check if the ADDR prefix used. */
+ /* Check if the ADDR prefix is used. */
if ((prefixes & PREFIX_ADDR) != 0
&& (used_prefixes & PREFIX_ADDR) != 0)
all_prefixes[last_addr_prefix] = 0;
- /* Check if the DATA prefix used. */
+ /* Check if the DATA prefix is used. */
if ((prefixes & PREFIX_DATA) != 0
&& (used_prefixes & PREFIX_DATA) != 0)
all_prefixes[last_data_prefix] = 0;