statetrace.cc (8113:5c7c804e0645) | statetrace.cc (8114:04b349c6dbf9) |
---|---|
1/* 2 * Copyright (c) 2006-2007 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 42 unchanged lines hidden (view full) --- 51void 52printUsage(const char * execName) 53{ 54 cout << execName << " <options> -- <command> <arguments>" << endl; 55 cout << "options:" << endl; 56 cout << " -h print this help" << endl; 57 cout << " --host remote m5 host to connect to" << endl; 58 cout << " -i print initial stack state" << endl; | 1/* 2 * Copyright (c) 2006-2007 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 42 unchanged lines hidden (view full) --- 51void 52printUsage(const char * execName) 53{ 54 cout << execName << " <options> -- <command> <arguments>" << endl; 55 cout << "options:" << endl; 56 cout << " -h print this help" << endl; 57 cout << " --host remote m5 host to connect to" << endl; 58 cout << " -i print initial stack state" << endl; |
59 cout << " -nt don't print an instruction trace" << endl; | 59 cout << " -nt don't trace execution" << endl; |
60} 61 62int 63main(int argc, char * argv[], char * envp[]) 64{ 65 TraceChild * child = genTraceChild(); 66 string args; 67 int startProgramArgs; --- 89 unchanged lines hidden --- | 60} 61 62int 63main(int argc, char * argv[], char * envp[]) 64{ 65 TraceChild * child = genTraceChild(); 66 string args; 67 int startProgramArgs; --- 89 unchanged lines hidden --- |