summaryrefslogtreecommitdiff
path: root/util/statetrace/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-03-02 22:53:11 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-03-02 22:53:11 -0800
commit441ab29820f41eb2dd730f7acc92c7a09ac3dd8b (patch)
tree8791d83e511c1bed9c6cb90f140c28b82bd9e08b /util/statetrace/arch
parent9d2650792fa41155773b22771acbabdb4fbb164a (diff)
downloadgem5-441ab29820f41eb2dd730f7acc92c7a09ac3dd8b.tar.xz
Statetrace: Stub out the missing i386 version of sendState.
Diffstat (limited to 'util/statetrace/arch')
-rw-r--r--util/statetrace/arch/i686/tracechild.cc6
-rw-r--r--util/statetrace/arch/i686/tracechild.hh1
2 files changed, 7 insertions, 0 deletions
diff --git a/util/statetrace/arch/i686/tracechild.cc b/util/statetrace/arch/i686/tracechild.cc
index 0ac977b4a..f9e37442e 100644
--- a/util/statetrace/arch/i686/tracechild.cc
+++ b/util/statetrace/arch/i686/tracechild.cc
@@ -97,6 +97,12 @@ I686TraceChild::getOldRegVal(int num)
return getRegs(oldregs, num);
}
+bool
+I686TraceChild::sendState(int socket)
+{
+ return false;
+}
+
TraceChild *
genTraceChild()
{
diff --git a/util/statetrace/arch/i686/tracechild.hh b/util/statetrace/arch/i686/tracechild.hh
index c21955506..1c1a36593 100644
--- a/util/statetrace/arch/i686/tracechild.hh
+++ b/util/statetrace/arch/i686/tracechild.hh
@@ -73,6 +73,7 @@ class I686TraceChild : public TraceChild
int64_t getOldRegVal(int num);
uint64_t getPC() {return getRegVal(EIP);}
uint64_t getSP() {return getRegVal(ESP);}
+ bool sendState(int socket);
std::ostream &
outputStartState(std::ostream & output)
{