Fix printf botch.
authorAndrew Cagney <cagney@redhat.com>
Sun, 9 Apr 2000 14:15:43 +0000 (14:15 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 9 Apr 2000 14:15:43 +0000 (14:15 +0000)
sim/mips/ChangeLog
sim/mips/interp.c

index af9985b1ec37ffc327febca632b04d8cc6e98db0..799159cc3e6ee261052356e7f26973ef927912de 100644 (file)
@@ -1,3 +1,7 @@
+Mon Apr 10 00:07:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (decode_coproc): Output long using %lx and not %s.
+
 2000-03-21  Frank Ch. Eigler  <fche@redhat.com>
 
        * interp.c (sim_open): Sort & extend dummy memory regions for
index eac81b364e17e0845f6599d88ebb29f0344b3af4..a75d4ab3f74f262f8da046e79c96c1f934d61077 100644 (file)
@@ -3231,8 +3231,8 @@ decode_coproc (SIM_DESC sd,
                /* 30 = ErrorEPC           R4000   VR4100  VR4300 */
                if (STATE_VERBOSE_P(SD))
                  sim_io_eprintf (SD, 
-                   "Warning: PC 0x%s:interp.c decode_coproc DEADC0DE\n",
-                     (unsigned)cia);
+                                 "Warning: PC 0x%lx:interp.c decode_coproc DEADC0DE\n",
+                                 (unsigned long)cia);
                GPR[rt] = 0xDEADC0DE; /* CPR[0,rd] */
                /* CPR[0,rd] = GPR[rt]; */
              default: