* hppa-dis.c (print_insn_hppa): Escape '%' in output strings.
authorJeff Law <law@redhat.com>
Tue, 7 Sep 1999 19:57:23 +0000 (19:57 +0000)
committerJeff Law <law@redhat.com>
Tue, 7 Sep 1999 19:57:23 +0000 (19:57 +0000)
opcodes/ChangeLog
opcodes/hppa-dis.c

index 9a5b0b62ecea3397f51295f4bf406ad59bab0256..80fc5415f3422e3545af8651e3b89742955509e7 100644 (file)
@@ -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  <nickc@cygnus.com>
index 0e1de381e0ebf73cf3962db5c7a4719c90f24738..cde70fa3e39189891b62e9ad6be2c47179d4a733 100644 (file)
@@ -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",