summaryrefslogtreecommitdiff
path: root/util/statetrace/arch/tracechild_amd64.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-05-02 00:39:46 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-05-02 00:39:46 -0700
commitd75ad847b32e6076a673bc562d6e92c2193221dc (patch)
treecaec9b15fa26278eebec7cb033cedf148b0881a3 /util/statetrace/arch/tracechild_amd64.hh
parent51a3d65e259fc30662ecfdac9bf7ca0068fa7da6 (diff)
downloadgem5-d75ad847b32e6076a673bc562d6e92c2193221dc.tar.xz
Statetrace: Fix compile problems with the AMD64 version of statetrace.
Diffstat (limited to 'util/statetrace/arch/tracechild_amd64.hh')
-rw-r--r--util/statetrace/arch/tracechild_amd64.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/statetrace/arch/tracechild_amd64.hh b/util/statetrace/arch/tracechild_amd64.hh
index 66b891777..9b33caaf1 100644
--- a/util/statetrace/arch/tracechild_amd64.hh
+++ b/util/statetrace/arch/tracechild_amd64.hh
@@ -88,7 +88,7 @@ class AMD64TraceChild : public TraceChild
};
private:
char printBuffer [256];
- static char * regNames[numregs];
+ static const char * regNames[numregs];
int64_t getRegs(user_regs_struct & myregs,
user_fpregs_struct &myfpregs,int num);
user_regs_struct regs;