summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-18 18:09:38 +0000
committerJeff Law <law@redhat.com>1999-09-18 18:09:38 +0000
commitff166d80c95c8b3aa49701efd751a0dddbf25e37 (patch)
tree1c696f1a06380734d04c23873ff5cc006265e241
parent0a8eb9c79c796c74efa37a4d32f6dd440657434d (diff)
downloadgdb-ff166d80c95c8b3aa49701efd751a0dddbf25e37.tar.gz
* hppa-dis.c: (print_insn_hppa): Handle 'fX'.
-rw-r--r--opcodes/ChangeLog2
-rw-r--r--opcodes/hppa-dis.c10
2 files changed, 12 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6916f8cffd9..3d361fc59bb 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,7 @@
Sat Sep 18 11:36:12 1999 Jeffrey A Law (law@cygnus.com)
+ * hppa-dis.c: (print_insn_hppa): Handle 'fX'.
+
* hppa-dis.c: (print_insn_hppa): Add missing break after
FP register case.
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index d512d86e84a..4c2c6ce6f86 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -384,6 +384,16 @@ print_insn_hppa (memaddr, info)
else
fput_fp_reg (GET_FIELD (insn, 6, 10), info);
break;
+
+ /* 'fA' will not generate a space before the regsiter
+ name. Normally that is fine. Except that it
+ causes problems with xmpyu which has no FP format
+ completer. */
+ case 'X':
+ fputs_filtered (" ", info);
+
+ /* FALLTHRU */
+
case 'A':
if (GET_FIELD (insn, 24, 24))
fput_fp_reg_r (GET_FIELD (insn, 6, 10), info);