aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/interp.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-09 14:15:43 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-09 14:15:43 +0000
commite30db7381caa0eb14435fa4d3728484d7f01033c (patch)
tree804dc6c723549aa0abfa6cf3ba8c18f24b707df8 /sim/mips/interp.c
parentf7384f0ffde53e161120ed59856680ec8e31c5ca (diff)
downloadgdb-e30db7381caa0eb14435fa4d3728484d7f01033c.zip
gdb-e30db7381caa0eb14435fa4d3728484d7f01033c.tar.gz
gdb-e30db7381caa0eb14435fa4d3728484d7f01033c.tar.bz2
Fix printf botch.
Diffstat (limited to 'sim/mips/interp.c')
-rw-r--r--sim/mips/interp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index eac81b3..a75d4ab 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -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: