aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-19 21:39:36 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-19 21:39:36 +0000
commit981b3a27941ffe09a46499d2358520b0a24110b1 (patch)
tree959c9489bb387c0f13da84dd832345fd3ec2993c /opcodes
parent17068960cb11eae5c3edc1b54cd53b8a78c83c3e (diff)
downloadgdb-981b3a27941ffe09a46499d2358520b0a24110b1.zip
gdb-981b3a27941ffe09a46499d2358520b0a24110b1.tar.gz
gdb-981b3a27941ffe09a46499d2358520b0a24110b1.tar.bz2
* hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
don't output a space.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog3
-rw-r--r--opcodes/hppa-dis.c10
2 files changed, 11 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e0aeef8..69c369a 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,8 @@
Mon Jul 19 13:52:21 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
+ * hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
+ don't output a space.
+
* hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
Sun Jul 18 16:30:02 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index 2eb1780..f83d770 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -474,8 +474,14 @@ print_insn_hppa (memaddr, info)
break;
case '>':
case '~':
- (*info->fprintf_func) (info->stream, "%s ",
- shift_cond_names[GET_FIELD (insn, 16, 18)]);
+ (*info->fprintf_func)
+ (info->stream, "%s",
+ shift_cond_names[GET_FIELD (insn, 16, 18)]);
+
+ /* If the next character in args is 'n', it will handle
+ putting out the space. */
+ if (s[1] != 'n')
+ (*info->fprintf_func) (info->stream, " ");
break;
case 'V':
fput_const (extract_5_store (insn), info);