@@ -69,42 +69,42 @@ static uint32_t str2num(string& num_str) {
69
69
70
70
static void show_help () {
71
71
cout << " Debugger commands:" << endl;
72
- cout << " step [N] -- execute single instruction" << endl;
73
- cout << " N is an optional step count" << endl;
74
- cout << " si [N] -- shortcut for step" << endl;
75
- cout << " next -- same as step but treats subroutine calls" << endl;
76
- cout << " as single instructions." << endl;
77
- cout << " ni -- shortcut for next" << endl;
78
- cout << " until X -- execute until address X is reached" << endl;
79
- cout << " go -- exit debugger and continue emulator execution" << endl;
80
- cout << " regs -- dump content of the GRPs" << endl;
81
- cout << " fregs -- dump content of the FPRs" << endl;
82
- cout << " mregs -- dump content of the MMU registers" << endl;
83
- cout << " set R=X -- assign value X to register R" << endl;
84
- cout << " if R=loglevel, set the internal" << endl;
85
- cout << " log level to X whose range is -2...9" << endl;
86
- cout << " dump NT,X -- dump N memory cells of size T at address X" << endl;
87
- cout << " T can be b(byte), w(word), d(double)," << endl;
88
- cout << " q(quad) or c(character)." << endl;
89
- cout << " profile C N -- run subcommand C on profile N" << endl;
90
- cout << " supported subcommands:" << endl;
91
- cout << " 'show' - show profile report" << endl;
92
- cout << " 'reset' - reset profile variables" << endl;
72
+ cout << " step [N] -- execute single instruction" << endl;
73
+ cout << " N is an optional step count" << endl;
74
+ cout << " si [N] -- shortcut for step" << endl;
75
+ cout << " next -- same as step but treats subroutine calls" << endl;
76
+ cout << " as single instructions." << endl;
77
+ cout << " ni -- shortcut for next" << endl;
78
+ cout << " until X -- execute until address X is reached" << endl;
79
+ cout << " go -- exit debugger and continue emulator execution" << endl;
80
+ cout << " regs -- dump content of the GRPs" << endl;
81
+ cout << " fregs -- dump content of the FPRs" << endl;
82
+ cout << " mregs -- dump content of the MMU registers" << endl;
83
+ cout << " set R=X -- assign value X to register R" << endl;
84
+ cout << " if R=loglevel, set the internal" << endl;
85
+ cout << " log level to X whose range is -2...9" << endl;
86
+ cout << " dump NT,X -- dump N memory cells of size T at address X" << endl;
87
+ cout << " T can be b(byte), w(word), d(double)," << endl;
88
+ cout << " q(quad) or c(character)." << endl;
89
+ cout << " profile C N -- run subcommand C on profile N" << endl;
90
+ cout << " supported subcommands:" << endl;
91
+ cout << " 'show' - show profile report" << endl;
92
+ cout << " 'reset' - reset profile variables" << endl;
93
93
#ifdef PROFILER
94
- cout << " profiler -- show stats related to the processor" << endl;
94
+ cout << " profiler -- show stats related to the processor" << endl;
95
95
#endif
96
- cout << " disas N,X -- disassemble N instructions starting at address X" << endl;
97
- cout << " X can be any number or a known register name" << endl;
98
- cout << " disas with no arguments defaults to disas 1,pc" << endl;
99
- cout << " da N,X -- shortcut for disas" << endl;
96
+ cout << " disas N,X -- disassemble N instructions starting at address X" << endl;
97
+ cout << " X can be any number or a known register name" << endl;
98
+ cout << " disas with no arguments defaults to disas 1,pc" << endl;
99
+ cout << " da N,X -- shortcut for disas" << endl;
100
100
#ifdef ENABLE_68K_DEBUGGER
101
- cout << " context X -- switch to the debugging context X." << endl;
102
- cout << " X can be either 'ppc' (default) or '68k'" << endl;
103
- cout << " Use 68k for debugging emulated 68k code only." << endl;
101
+ cout << " context X -- switch to the debugging context X." << endl;
102
+ cout << " X can be either 'ppc' (default) or '68k'" << endl;
103
+ cout << " Use 68k for debugging emulated 68k code only." << endl;
104
104
#endif
105
- cout << " printenv -- print current NVRAM settings." << endl;
106
- cout << " setenv V N -- set NVRAM variable V to value N." << endl;
107
- cout << " quit -- quit the debugger" << endl << endl;
105
+ cout << " printenv -- print current NVRAM settings." << endl;
106
+ cout << " setenv V N -- set NVRAM variable V to value N." << endl;
107
+ cout << " quit -- quit the debugger" << endl << endl;
108
108
cout << " Pressing ENTER will repeat last command." << endl;
109
109
}
110
110
0 commit comments