aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 4cc5087..3a38bb2 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2020-07-14 Jan Beulich <jbeulich@suse.com>
+ * i386-dis.c (OP_D): Print dr<N> instead of db<N> in Intel mode.
+
+2020-07-14 Jan Beulich <jbeulich@suse.com>
+
* i386-dis.c (OP_R, Rm): Delete.
(MOD_0F24, MOD_0F26): Rename to ...
(X86_64_0F24, X86_64_0F26): ... respectively.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 9c45da2..a6cc013 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -12787,7 +12787,7 @@ OP_D (int dummy ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED)
else
add = 0;
if (intel_syntax)
- sprintf (scratchbuf, "db%d", modrm.reg + add);
+ sprintf (scratchbuf, "dr%d", modrm.reg + add);
else
sprintf (scratchbuf, "%%db%d", modrm.reg + add);
oappend (scratchbuf);