changeset bfbec82af250 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=bfbec82af250 description: Statetrace: Use sys/user.h instead of linux/user.h.
diffstat: util/statetrace/arch/i386/tracechild.cc | 12 ++++++------ util/statetrace/arch/i386/tracechild.hh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diffs (34 lines): diff -r 04b349c6dbf9 -r bfbec82af250 util/statetrace/arch/i386/tracechild.cc --- a/util/statetrace/arch/i386/tracechild.cc Wed Mar 02 22:53:11 2011 -0800 +++ b/util/statetrace/arch/i386/tracechild.cc Wed Mar 02 22:53:11 2011 -0800 @@ -54,12 +54,12 @@ case EBP: return myregs.ebp; case ESP: return myregs.esp; //Segmentation registers - case CS: return myregs.cs; - case DS: return myregs.ds; - case ES: return myregs.es; - case FS: return myregs.fs; - case GS: return myregs.gs; - case SS: return myregs.ss; + case CS: return myregs.xcs; + case DS: return myregs.xds; + case ES: return myregs.xes; + case FS: return myregs.xfs; + case GS: return myregs.xgs; + case SS: return myregs.xss; //PC case EIP: return myregs.eip; default: diff -r 04b349c6dbf9 -r bfbec82af250 util/statetrace/arch/i386/tracechild.hh --- a/util/statetrace/arch/i386/tracechild.hh Wed Mar 02 22:53:11 2011 -0800 +++ b/util/statetrace/arch/i386/tracechild.hh Wed Mar 02 22:53:11 2011 -0800 @@ -31,7 +31,7 @@ #ifndef REGSTATE_I386_HH #define REGSTATE_I386_HH -#include <linux/user.h> +#include <sys/user.h> #include <sys/types.h> #include <sys/ptrace.h> #include <cassert> _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev