diff options
author | Jeff Law <law@redhat.com> | 1999-09-07 19:57:23 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1999-09-07 19:57:23 +0000 |
commit | 2beaab59a5f374261d27b8400d522c271f7d917f (patch) | |
tree | 1c0a5fd7c8c1576ee0c16abe9425fd8ca433889b /opcodes/hppa-dis.c | |
parent | d1e9bd1f11940946dd174404ef33c1308cc5edba (diff) | |
download | gdb-2beaab59a5f374261d27b8400d522c271f7d917f.zip gdb-2beaab59a5f374261d27b8400d522c271f7d917f.tar.gz gdb-2beaab59a5f374261d27b8400d522c271f7d917f.tar.bz2 |
* hppa-dis.c (print_insn_hppa): Escape '%' in output strings.
Diffstat (limited to 'opcodes/hppa-dis.c')
-rw-r--r-- | opcodes/hppa-dis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c index 0e1de38..cde70fa 100644 --- a/opcodes/hppa-dis.c +++ b/opcodes/hppa-dis.c @@ -766,7 +766,7 @@ print_insn_hppa (memaddr, info) case 'Z': /* addil %r1 implicit output. */ - (*info->fprintf_func) (info->stream, "%r1"); + (*info->fprintf_func) (info->stream, "%%r1"); break; case '.': @@ -778,7 +778,7 @@ print_insn_hppa (memaddr, info) GET_FIELD (insn, 22, 25)); break; case '!': - (*info->fprintf_func) (info->stream, "%sar"); + (*info->fprintf_func) (info->stream, "%%sar"); break; case 'p': (*info->fprintf_func) (info->stream, "%d", |