From 8390e4631174c2ca90755448e5ce336145679559 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 10 Nov 2006 15:25:03 -0500 Subject: [PATCH] Tweaked debug output. --HG-- extra : convert_revision : cd33b7c1ebdbefd42f18c1435b2519d06d9914a6 --- src/arch/sparc/intregfile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc index 0e313dc94..358368e5f 100644 --- a/src/arch/sparc/intregfile.cc +++ b/src/arch/sparc/intregfile.cc @@ -83,7 +83,7 @@ IntReg IntRegFile::readReg(int intReg) else if((intReg -= NumRegularIntRegs) < NumMicroIntRegs) val = microRegs[intReg]; else - panic("Tried to read non-existant integer register\n"); + panic("Tried to read non-existant integer register %d, %d\n", NumRegularIntRegs + NumMicroIntRegs + intReg, intReg); DPRINTF(Sparc, "Read register %d = 0x%x\n", intReg, val); return val; @@ -123,7 +123,7 @@ void IntRegFile::setCWP(int cwp) void IntRegFile::setGlobals(int gl) { - DPRINTF(Sparc, "Now using %d globals", gl); + DPRINTF(Sparc, "Now using %d globals\n", gl); regView[Globals] = regGlobals[gl]; offset[Globals] = RegGlobalOffset + gl * RegsPerFrame; -- 2.30.2