Fix printf arguments.
authorAndrew Cagney <cagney@redhat.com>
Fri, 23 Jun 2000 12:39:41 +0000 (12:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 23 Jun 2000 12:39:41 +0000 (12:39 +0000)
sim/mips/ChangeLog
sim/mips/mips.igen

index a6e059ca106b78f73d1b141302b9e5e0e58ace1b..ef2e85a0cde3817e77b8c8ebd7e73ff1a518c526 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jun 13 20:52:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (MxC1, DMxC1): Fix printf formatting.
+
 2000-05-24  Michael Hayes  <mhayes@cygnus.com>
 
        * mips.igen (do_dmultx): Fix typo.
index 585e83a61b9ad04857f7322d61cb9f34d567b3c0..23908a967e56a85dfa7baedc56b1bd785d98760f 100644 (file)
        {
          if (STATE_VERBOSE_P(SD))
            sim_io_eprintf (SD, 
-             "Warning: PC 0x%x: semantic_DMxC1_COP1Sa 32-bit use of odd FPR number\n",
-             CIA);
+             "Warning: PC 0x%lx: semantic_DMxC1_COP1Sa 32-bit use of odd FPR number\n",
+             (long) CIA);
          PENDING_FILL(RT,SET64HI(0xDEADC0DE) | 0xBAD0BAD0);
        }
     }
        {
          if (STATE_VERBOSE_P(SD))
            sim_io_eprintf (SD, 
-             "Warning:  PC 0x%x: MTC1 not DMTC1 with 64 bit regs\n", CIA);
+                           "Warning:  PC 0x%lx: MTC1 not DMTC1 with 64 bit regs\n",
+                           (long) CIA);
          PENDING_FILL ((FS + FGRIDX), (SET64HI(0xDEADC0DE) | VL4_8(GPR[RT])));
        }
       else