Tweaked debug output.

--HG--
extra : convert_revision : cd33b7c1ebdbefd42f18c1435b2519d06d9914a6
This commit is contained in:
Gabe Black 2006-11-10 15:25:03 -05:00
parent cee4d1c113
commit 8390e46311

View file

@ -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;