This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[SIM] Fix sim/mips printf botch
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [SIM] Fix sim/mips printf botch
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 10 Apr 2000 00:14:08 +1000
- Organization: Cygnus Solutions
FYI,
I've committed the attatched.
Andrew
Mon Apr 10 00:07:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
* interp.c (decode_coproc): Output long using %lx and not %s.
Index: interp.c
===================================================================
RCS file: /cvs/src/src/sim/mips/interp.c,v
retrieving revision 1.3
diff -p -r1.3 interp.c
*** interp.c 2000/03/21 20:45:43 1.3
--- interp.c 2000/04/09 14:13:14
*************** decode_coproc (SIM_DESC sd,
*** 3231,3238 ****
/* 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);
GPR[rt] = 0xDEADC0DE; /* CPR[0,rd] */
/* CPR[0,rd] = GPR[rt]; */
default:
--- 3231,3238 ----
/* 30 = ErrorEPC R4000 VR4100 VR4300 */
if (STATE_VERBOSE_P(SD))
sim_io_eprintf (SD,
! "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: