aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-09 23:22:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-09 23:22:31 +0000
commit6f74c397defce90b9323316d756b32d9373b874c (patch)
tree585071e1d9451947297e348a7c9b69a9ad457aaa /opcodes
parentb498f34c17400436e6ab510c1a1bae913e95f724 (diff)
downloadgdb-6f74c397defce90b9323316d756b32d9373b874c.zip
gdb-6f74c397defce90b9323316d756b32d9373b874c.tar.gz
gdb-6f74c397defce90b9323316d756b32d9373b874c.tar.bz2
2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_Rd): Renamed to ... (OP_R): This. (Rd): Updated. (Rm): Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/i386-dis.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 4257a5a..b0557a9 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (OP_Rd): Renamed to ...
+ (OP_R): This.
+ (Rd): Updated.
+ (Rm): Likewise.
+
2007-03-08 Alan Modra <amodra@bigpond.net.au>
* fr30-asm.c: Regenerate.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 0a3443a..526627a 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -80,7 +80,7 @@ static void OP_DSreg (int, int);
static void OP_C (int, int);
static void OP_D (int, int);
static void OP_T (int, int);
-static void OP_Rd (int, int);
+static void OP_R (int, int);
static void OP_MMX (int, int);
static void OP_XMM (int, int);
static void OP_EM (int, int);
@@ -227,8 +227,8 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr)
#define Gdq { OP_G, dq_mode }
#define Gm { OP_G, m_mode }
#define Gw { OP_G, w_mode }
-#define Rd { OP_Rd, d_mode }
-#define Rm { OP_Rd, m_mode }
+#define Rd { OP_R, d_mode }
+#define Rm { OP_R, m_mode }
#define Ib { OP_I, b_mode }
#define sIb { OP_sI, b_mode } /* sign extened byte */
#define Iv { OP_I, v_mode }
@@ -5102,7 +5102,7 @@ OP_T (int dummy ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED)
}
static void
-OP_Rd (int bytemode, int sizeflag)
+OP_R (int bytemode, int sizeflag)
{
if (mod == 3)
OP_E (bytemode, sizeflag);