aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
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/i386-dis.c
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/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c10
1 files changed, 5 insertions, 5 deletions
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);
}