summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-31 13:02:58 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-31 13:02:58 -0700
commit941675690ca77475f8f311e99f3660d0394e583c (patch)
treedaa6eb2423311e30099e2bbbb3e38c52e6903ceb /src/cpu
parenteddf6f163741d116235caeba9cec3e604907dfcf (diff)
downloadgem5-941675690ca77475f8f311e99f3660d0394e583c.tar.xz
X86: Get x86 to compile again after the simobject constructor change.
--HG-- extra : convert_revision : 17a3e16e849bee88892223f0c993b19c15daa554
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/nativetrace.cc4
-rw-r--r--src/cpu/nativetrace.hh2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/nativetrace.cc b/src/cpu/nativetrace.cc
index fe524e245..0db61af2c 100644
--- a/src/cpu/nativetrace.cc
+++ b/src/cpu/nativetrace.cc
@@ -50,7 +50,7 @@ using namespace TheISA;
namespace Trace {
-NativeTrace::NativeTrace(const std::string & _name) : InstTracer(_name)
+NativeTrace::NativeTrace(const Params *p) : InstTracer(p)
{
int port = 8000;
while(!native_listener.listen(port, true))
@@ -187,5 +187,5 @@ Trace::NativeTrace::check(ThreadContext * tc, bool isSyscall)
Trace::NativeTrace *
NativeTraceParams::create()
{
- return new Trace::NativeTrace(name);
+ return new Trace::NativeTrace(this);
};
diff --git a/src/cpu/nativetrace.hh b/src/cpu/nativetrace.hh
index 126077581..6fd624211 100644
--- a/src/cpu/nativetrace.hh
+++ b/src/cpu/nativetrace.hh
@@ -171,7 +171,7 @@ class NativeTrace : public InstTracer
bool
checkR11Reg(const char * regName, uint64_t &, uint64_t &);
- NativeTrace(const std::string & name);
+ NativeTrace(const Params *p);
NativeTraceRecord *
getInstRecord(Tick when, ThreadContext *tc,