summaryrefslogtreecommitdiff
path: root/util/statetrace/statetrace.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-03-02 22:53:10 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-03-02 22:53:10 -0800
commit43eda1f28516ca9534057691adf22df7c2911e44 (patch)
treeef07aa55ac460c50f1235dc4e17616e4426ac5f2 /util/statetrace/statetrace.cc
parent3c19e45a68db15dc450f07a77cf0083aa40270cd (diff)
downloadgem5-43eda1f28516ca9534057691adf22df7c2911e44.tar.xz
Statetrace: Get rid of explicit register name handling.
Diffstat (limited to 'util/statetrace/statetrace.cc')
-rw-r--r--util/statetrace/statetrace.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/util/statetrace/statetrace.cc b/util/statetrace/statetrace.cc
index ff20625a1..ccc408fa7 100644
--- a/util/statetrace/statetrace.cc
+++ b/util/statetrace/statetrace.cc
@@ -53,7 +53,6 @@ printUsage(const char * execName)
cout << "options:" << endl;
cout << " -h print this help" << endl;
cout << " --host remote m5 host to connect to" << endl;
- cout << " -r print register names" << endl;
cout << " -i print initial stack state" << endl;
cout << " -nt don't print an instruction trace" << endl;
}
@@ -87,12 +86,6 @@ main(int argc, char * argv[], char * envp[])
return 1;
}
host = argv[x];
- } else if (!strcmp(argv[x], "-r")) {
- cout << "Legal register names:" << endl;
- int numRegs = child->getNumRegs();
- for (unsigned int x = 0; x < numRegs; x++)
- cout << "\t" << child->getRegName(x) << endl;
- return 0;
} else if (!strcmp(argv[x], "-i")) {
printInitial = true;
} else if (!strcmp(argv[x], "-nt")) {