aboutsummaryrefslogtreecommitdiff
path: root/opcodes/hppa-dis.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-08-28 06:29:15 +0000
committerJeff Law <law@redhat.com>1999-08-28 06:29:15 +0000
commit4f31259178a681b11fbdf023d1a970ee2e4340cb (patch)
tree6f5ac3d1096276918de57b097eff482c5c04636b /opcodes/hppa-dis.c
parent9ecc05f0de63bb07a9f37f464e2e53e2de338d23 (diff)
downloadgdb-4f31259178a681b11fbdf023d1a970ee2e4340cb.zip
gdb-4f31259178a681b11fbdf023d1a970ee2e4340cb.tar.gz
gdb-4f31259178a681b11fbdf023d1a970ee2e4340cb.tar.bz2
* hppa-dis.c (print_insn_hppa): Look at next arg instead of bits
to decide to print a space.
Diffstat (limited to 'opcodes/hppa-dis.c')
-rw-r--r--opcodes/hppa-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index 5df90c4..2e68f34 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -677,7 +677,7 @@ print_insn_hppa (memaddr, info)
case 'F':
/* if no destination completer and not before a completer
for fcmp, need a space here */
- if (GET_FIELD (insn, 21, 22) == 1 || s[1] == '?')
+ if (s[1] == 'G' || s[1] == '?')
fputs_filtered (float_format_names[GET_FIELD (insn, 19, 20)],
info);
else
@@ -701,7 +701,7 @@ print_insn_hppa (memaddr, info)
case 'I':
/* if no destination completer and not before a completer
for fcmp, need a space here */
- if (GET_FIELD (insn, 21, 22) == 1 || s[1] == '?')
+ if (s[1] == '?')
fputs_filtered (float_format_names[GET_FIELD (insn, 20, 20)],
info);
else