formatting of debug commands

This commit is contained in:
Dagen Brock 2016-05-21 04:35:47 -05:00
parent 58e3cf1579
commit d85bd0790f

View File

@ -107,14 +107,14 @@ get_num()
void
debugger_help()
{
printf("GSport Debugger help (courtesy Fredric Devernay\n");
printf("General command syntax: [bank]/[address][command]\n");
printf("e.g. 'e1/0010B' to set a breakpoint at the interrupt jump pt\n");
printf("Enter all addresses using lower-case\n");
printf("GSplus Debugger Help (courtesy Fredric Devernay)\n\n");
printf("General command syntax:\n");
printf(" [bank]/[address][command]\n\n");
printf("Example: > e1/0010B Set a Breakpoint at the interrupt jump pt\n\n");
printf("Enter all addresses using lower-case.\n");
printf("As with the IIgs monitor, you can omit the bank number after\n");
printf("having set it: 'e1/0010B' followed by '14B' will set\n");
printf("breakpoints at e1/0010 and e1/0014\n");
printf("\n");
printf("having set it: 'e1/0010B' followed by '14B' will set breakpoints\n");
printf("at e1/0010 and e1/0014\n\n");
printf(" g Go\n");
printf(" [bank]/[addr]g Go from [bank]/[address]\n");
printf(" s Step one instruction\n");
@ -122,9 +122,8 @@ debugger_help()
printf(" [bank]/[addr]B Set breakpoint at [bank]/[address]\n");
printf(" B Show all breakpoints\n");
printf(" [bank]/[addr]D Delete breakpoint at [bank]/[address]\n");
printf("[bank]/[addr1].[addr2] View memory\n");
printf(" [bank]/[addr].[addr2] View memory\n");
printf(" [bank]/[addr]L Disassemble memory\n");
printf(" P Dump the trace to 'pc_log_out'\n");
printf(" Z Dump SCC state\n");
printf(" I Dump IWM state\n");
@ -151,7 +150,7 @@ debugger_help()
printf("[bank]/[addr1].[addr2]us[file] Save mem area to [file]\n");
printf("[bank]/[addr1].[addr2]ul[file] Load mem area from [file]\n");
printf(" v Show video information\n");
printf("q Exit Debugger (and GSport)\n");
printf(" q Quit Debugger (and GSplus)\n");
}
void