From 2beaab59a5f374261d27b8400d522c271f7d917f Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 7 Sep 1999 19:57:23 +0000 Subject: [PATCH] * hppa-dis.c (print_insn_hppa): Escape '%' in output strings. --- opcodes/ChangeLog | 2 ++ opcodes/hppa-dis.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9a5b0b62ece..80fc5415f34 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,7 @@ Tue Sep 7 13:50:32 1999 Jeffrey A Law (law@cygnus.com) + * hppa-dis.c (print_insn_hppa): Escape '%' in output strings. + * hppa-dis.c (print_insn_hppa): Handle 'Z' argument. 1999-09-07 Nick Clifton diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c index 0e1de381e0e..cde70fa3e39 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", -- 2.30.2