summaryrefslogtreecommitdiff
path: root/util/statetrace/arch/tracechild_sparc.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-15 06:10:50 -0400
committerGabe Black <gblack@eecs.umich.edu>2007-03-15 06:10:50 -0400
commitb33f4623abeb82acf87714ada95682ceb0993d31 (patch)
tree80144e7e7717352d5627e5ca2eb5e2eb9da9a30c /util/statetrace/arch/tracechild_sparc.hh
parentff90b8c1aa99711eeb55c5eba29519f77cbc041c (diff)
downloadgem5-b33f4623abeb82acf87714ada95682ceb0993d31.tar.xz
Update to statetrace. This will break it, but I want to make sure it gets into mercurial.
--HG-- extra : convert_revision : 6960d2f728c85e99e32bf9b752e45b3cb5e30e3e
Diffstat (limited to 'util/statetrace/arch/tracechild_sparc.hh')
-rw-r--r--util/statetrace/arch/tracechild_sparc.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/util/statetrace/arch/tracechild_sparc.hh b/util/statetrace/arch/tracechild_sparc.hh
index 8b4ff9aae..0284fb82e 100644
--- a/util/statetrace/arch/tracechild_sparc.hh
+++ b/util/statetrace/arch/tracechild_sparc.hh
@@ -72,10 +72,10 @@ private:
regs oldregs;
fpu thefpregs;
fpu oldfpregs;
- int64_t locals[8];
- int64_t oldLocals[8];
- int64_t inputs[8];
- int64_t oldInputs[8];
+ uint64_t locals[8];
+ uint64_t oldLocals[8];
+ uint64_t inputs[8];
+ uint64_t oldInputs[8];
bool regDiffSinceUpdate[numregs];
//This calculates where the pc might go after the current instruction.
@@ -90,6 +90,8 @@ protected:
public:
SparcTraceChild();
+ bool sendState(int socket);
+
int getNumRegs()
{
return numregs;