Line 58... |
Line 58... |
#include "mprofiler.h"
|
#include "mprofiler.h"
|
#include "mc.h"
|
#include "mc.h"
|
#include "atahost.h"
|
#include "atahost.h"
|
|
|
/* CVS revision number. */
|
/* CVS revision number. */
|
const char rcsrev[] = "$Revision: 1.93 $";
|
const char rcsrev[] = "$Revision: 1.94 $";
|
|
|
/* History of execution */
|
/* History of execution */
|
int histexec[HISTEXEC_LEN];
|
int histexec[HISTEXEC_LEN];
|
|
|
char *sim_commands [] = {
|
char *sim_commands [] = {
|
"q", "t", "help", "de", "dm", "run", "pr", "pm", "pc",
|
"q", "t", "help", "de", "dm", "run", "pr", "pm", "pc",
|
"reset", "break", "hist", "stats", "stall" "info",
|
"reset", "break", "breaks", "hist", "stats", "stall" "info",
|
"r", "dv",
|
"r", "dv",
|
#if !FAST_SIM
|
#if !FAST_SIM
|
"set",
|
"set",
|
#endif
|
#endif
|
0
|
0
|
Line 144... |
Line 144... |
PRINTF("dm <fromaddr> [<toaddr>] - display memory from <fromaddr> to <toaddr>\n");
|
PRINTF("dm <fromaddr> [<toaddr>] - display memory from <fromaddr> to <toaddr>\n");
|
PRINTF("de <fromaddr> [<toaddr>] - debug insn memory\n");
|
PRINTF("de <fromaddr> [<toaddr>] - debug insn memory\n");
|
PRINTF("pm <addr> <value> - patch memory location <addr> with <value>\n");
|
PRINTF("pm <addr> <value> - patch memory location <addr> with <value>\n");
|
PRINTF("pc <value> - patch PC register with <value>\n");
|
PRINTF("pc <value> - patch PC register with <value>\n");
|
PRINTF("break <addr> - toggle breakpoint at address <addr>\n");
|
PRINTF("break <addr> - toggle breakpoint at address <addr>\n");
|
|
PRINTF("breaks - print all set breakpoints\n");
|
PRINTF("reset - simulator reset\n");
|
PRINTF("reset - simulator reset\n");
|
PRINTF("hist - execution history\n");
|
PRINTF("hist - execution history\n");
|
PRINTF("stall - stalls the processor and gives control to the debugger\n");
|
PRINTF("stall - stalls the processor and gives control to the debugger\n");
|
PRINTF("stats <num|clear> - execution statistics num or clear it.\n");
|
PRINTF("stats <num|clear> - execution statistics num or clear it.\n");
|
PRINTF("info - configuration info (caches etc.)\n");
|
PRINTF("info - configuration info (caches etc.)\n");
|