Skip to content

Commit eef2190

Browse files
joevtdingusdev
authored andcommitted
Add more spacing for Debugger help
Co-Authored-By: joevt <950609+joevt@users.noreply.github.com>
1 parent 470f4a1 commit eef2190

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

debugger/debugger.cpp

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -69,42 +69,42 @@ static uint32_t str2num(string& num_str) {
6969

7070
static void show_help() {
7171
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;
9393
#ifdef PROFILER
94-
cout << " profiler -- show stats related to the processor" << endl;
94+
cout << " profiler -- show stats related to the processor" << endl;
9595
#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;
100100
#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;
104104
#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;
108108
cout << "Pressing ENTER will repeat last command." << endl;
109109
}
110110

0 commit comments

Comments
 (0)