diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-19 21:39:36 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-19 21:39:36 +0000 |
commit | 981b3a27941ffe09a46499d2358520b0a24110b1 (patch) | |
tree | 959c9489bb387c0f13da84dd832345fd3ec2993c /opcodes/hppa-dis.c | |
parent | 17068960cb11eae5c3edc1b54cd53b8a78c83c3e (diff) | |
download | gdb-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/hppa-dis.c')
-rw-r--r-- | opcodes/hppa-dis.c | 10 |
1 files changed, 8 insertions, 2 deletions
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); |