aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-17 00:38:56 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-17 00:38:56 +0000
commita279b1f5ff9b67119f3b77ef5f17707644dc765f (patch)
tree9fa406a9b408d0748630950c9b70b6b69591fa5b /opcodes
parenta39f77396e4a9ccc31b7935e541658d4df06c820 (diff)
downloadgdb-a279b1f5ff9b67119f3b77ef5f17707644dc765f.zip
gdb-a279b1f5ff9b67119f3b77ef5f17707644dc765f.tar.gz
gdb-a279b1f5ff9b67119f3b77ef5f17707644dc765f.tar.bz2
* i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog24
-rw-r--r--opcodes/i386-dis.c10
2 files changed, 29 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 65cb1cb..0bf29b3 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,27 @@
+Sun Jan 16 14:20:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
+
+ * i386-dis.c (dis386): Use Yb and Yv for scasb and scasS.
+
+Thu Jan 6 12:38:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
+
+ * sparc-dis.c m68k-dis.c alpha-dis.c a29k-dis.c: Fix comments.
+
+Wed Jan 5 11:56:21 1994 David J. Mackenzie (djm@thepub.cygnus.com)
+
+ * i960-dis.c (print_insn_i960): Only read word2 if the instruction
+ needs it, to prevent reading past the end of a section.
+
+Wed Nov 17 17:20:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * mips-opc.h: Use macro for j instruction, to support SVR4 PIC.
+ Removed t,A case for la; always use t,A(b) case.
+
+Mon Nov 8 12:37:36 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ From Ted Lemen <mellon@pepper.ncd.com>
+ * mips-dis.c (print_insn_arg): Handle 'k'.
+ * mips-opc.c: Make cache use k, not t.
+
Sun Nov 7 23:52:34 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index e30b7fe..b5d5c7d 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -415,8 +415,8 @@ struct dis386 dis386[] = {
{ "stosS", Yv, eAX },
{ "lodsb", AL, Xb },
{ "lodsS", eAX, Xv },
- { "scasb", AL, Xb },
- { "scasS", eAX, Xv },
+ { "scasb", AL, Yb },
+ { "scasS", eAX, Yv },
/* b0 */
{ "movb", AL, Ib },
{ "movb", CL, Ib },
@@ -1106,7 +1106,7 @@ print_insn_i386 (pc, info)
if (*first)
{
if (op_index[0] != -1)
- print_address (op_address[op_index[0]], info->stream);
+ (*info->print_address_func) (op_address[op_index[0]], info);
else
(*info->fprintf_func) (info->stream, "%s", first);
needcomma = 1;
@@ -1116,7 +1116,7 @@ print_insn_i386 (pc, info)
if (needcomma)
(*info->fprintf_func) (info->stream, ",");
if (op_index[1] != -1)
- print_address (op_address[op_index[1]], info->stream);
+ (*info->print_address_func) (op_address[op_index[1]], info);
else
(*info->fprintf_func) (info->stream, "%s", second);
needcomma = 1;
@@ -1126,7 +1126,7 @@ print_insn_i386 (pc, info)
if (needcomma)
(*info->fprintf_func) (info->stream, ",");
if (op_index[2] != -1)
- print_address (op_address[op_index[2]], info->stream);
+ (*info->print_address_func) (op_address[op_index[2]], info);
else
(*info->fprintf_func) (info->stream, "%s", third);
}