aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2001-12-31 23:44:08 +0000
committerJeff Law <law@redhat.com>2001-12-31 23:44:08 +0000
commit8ef42b2959c577d1f1a9341653668f0126f16e27 (patch)
treeef5818cb1f549f20454fc6cae63556c763d6cd6e
parent1befefea7e242d54eb9361f8745b3f386d6df80d (diff)
downloadgdb-8ef42b2959c577d1f1a9341653668f0126f16e27.zip
gdb-8ef42b2959c577d1f1a9341653668f0126f16e27.tar.gz
gdb-8ef42b2959c577d1f1a9341653668f0126f16e27.tar.bz2
* hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
'X', 'M', and 'A'. No longer emit a space after 'x' or 's'. Always emit a space after 'H'.
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/hppa-dis.c16
2 files changed, 20 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index b37252f..7b07733 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+Mon Dec 31 16:46:26 2001 Jeffrey A Law (law@redhat.com)
+
+ * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
+ 'X', 'M', and 'A'. No longer emit a space after 'x' or 's'.
+ Always emit a space after 'H'.
+
2001-12-18 matthew green <mrg@redhat.com>
* ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index 6d7c54d..d9ab9dd 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -554,17 +554,29 @@ print_insn_hppa (memaddr, info)
switch (*++s)
{
case 'x':
+ (*info->fprintf_func) (info->stream, "%s",
+ index_compl_names[GET_COMPL (insn)]);
+ break;
+ case 'X':
(*info->fprintf_func) (info->stream, "%s ",
index_compl_names[GET_COMPL (insn)]);
break;
case 'm':
+ (*info->fprintf_func) (info->stream, "%s",
+ short_ldst_compl_names[GET_COMPL (insn)]);
+ break;
+ case 'M':
(*info->fprintf_func) (info->stream, "%s ",
short_ldst_compl_names[GET_COMPL (insn)]);
break;
- case 's':
+ case 'A':
(*info->fprintf_func) (info->stream, "%s ",
short_bytes_compl_names[GET_COMPL (insn)]);
break;
+ case 's':
+ (*info->fprintf_func) (info->stream, "%s",
+ short_bytes_compl_names[GET_COMPL (insn)]);
+ break;
case 'c':
case 'C':
switch (GET_FIELD (insn, 20, 21))
@@ -686,7 +698,7 @@ print_insn_hppa (memaddr, info)
break;
case 'H':
(*info->fprintf_func)
- (info->stream, "%s", saturation_names[GET_FIELD
+ (info->stream, "%s ", saturation_names[GET_FIELD
(insn, 24, 25)]);
break;
case '*':