diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-01-18 23:12:47 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2004-01-18 23:12:47 +0000 |
commit | 15ebc46ad492e0d01fccc25f552373440fa00d38 (patch) | |
tree | f7152caab1f87406200168b484b8e2e609c6f71e /opcodes/i386-dis.c | |
parent | 40b870a24ba31f18f823bcab304457aee56d1da0 (diff) | |
download | gdb-15ebc46ad492e0d01fccc25f552373440fa00d38.tar.gz |
* i386-dis.c (OP_E): Print scale factor on intel mode sib when not
1. Don't print scale factor on AT&T mode when index missing.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 0ef57efb93c..f9a0a9b2c45 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -3173,11 +3173,7 @@ OP_E (int bytemode, int sizeflag) ? names64[index] : names32[index]); oappend (scratchbuf); } - if (!intel_syntax - || (intel_syntax - && bytemode != b_mode - && bytemode != w_mode - && bytemode != v_mode)) + if (scale != 0 || (!intel_syntax && index != 4)) { *obufp++ = scale_char; *obufp = '\0'; |