diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-06-12 17:19:14 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-06-12 17:19:14 +0000 |
commit | 02732929e8a69fcdda523ebc7aa511d4cdbb0f0e (patch) | |
tree | 0c4f8c8327b69c0191da08d8ca8ee24b20f37e19 /src/arch/x86/intregfile.cc | |
parent | 1a3e668446e4b2d2c61651c9ae58e643c2aa3ad2 (diff) | |
parent | 0d8d3f988f835e58e5e53b6ee2be871e7bff9132 (diff) | |
download | gem5-02732929e8a69fcdda523ebc7aa511d4cdbb0f0e.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86
--HG--
extra : convert_revision : 1d2efac895a1c8328026a079e0b319a436325616
Diffstat (limited to 'src/arch/x86/intregfile.cc')
-rw-r--r-- | src/arch/x86/intregfile.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/intregfile.cc b/src/arch/x86/intregfile.cc index 15e86d88b..9c9ea134e 100644 --- a/src/arch/x86/intregfile.cc +++ b/src/arch/x86/intregfile.cc @@ -87,6 +87,7 @@ #include "arch/x86/intregfile.hh" #include "base/misc.hh" +#include "base/trace.hh" #include "sim/serialize.hh" #include <string.h> @@ -119,11 +120,13 @@ void IntRegFile::clear() IntReg IntRegFile::readReg(int intReg) { + DPRINTF(X86, "Read int reg %d and got value %#x\n", intReg, regs[intReg]); return regs[intReg]; } void IntRegFile::setReg(int intReg, const IntReg &val) { + DPRINTF(X86, "Setting int reg %d to value %#x\n", intReg, val); regs[intReg] = val; } |