Statetrace: Get rid of explicit register name handling.
[gem5.git] / util / statetrace / statetrace.cc
index ff20625a1f9ca6cd1079278a32d34d09d67f3b04..ccc408fa76e39a98de3860db70fd25d17b8e74b8 100644 (file)
@@ -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")) {