diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-04-28 12:19:31 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-04-28 12:19:31 +0000 |
commit | 0d09bfe6d3ab7e840abb4d6d05362f92aa505c42 (patch) | |
tree | 833432635e4e1e8bab35d619f2ebb76965bcf8fe /opcodes/mips-dis.c | |
parent | 654c225a6d81aaf232f05158943aee3fa798c4f2 (diff) | |
download | gdb-0d09bfe6d3ab7e840abb4d6d05362f92aa505c42.zip gdb-0d09bfe6d3ab7e840abb4d6d05362f92aa505c42.tar.gz gdb-0d09bfe6d3ab7e840abb4d6d05362f92aa505c42.tar.bz2 |
* mips-dis.c (print_insn_args): Print $fcc only for FP
instructions, use $cc elsewise.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r-- | opcodes/mips-dis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 5001f06..416be37 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -1072,7 +1072,9 @@ print_insn_args (const char *d, break; case 'N': - (*info->fprintf_func) (info->stream, "$fcc%ld", + (*info->fprintf_func) (info->stream, + ((opp->pinfo & (FP_D | FP_S)) != 0 + ? "$fcc%ld" : "$cc%ld"), (l >> OP_SH_BCC) & OP_MASK_BCC); break; |