Debugger cleanup misc march 2023 (#1199)

* Cleanup breakpoints

* Cleanup sections

* Tab cleanup
This commit is contained in:
Michael "Code Poet" Pohoreski 2023-03-26 11:31:15 -07:00 committed by GitHub
parent a5c5603749
commit 9a857183ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 26 deletions

View File

@ -29,20 +29,20 @@
// Breakpoints
enum BreakpointHit_t
{
BP_HIT_NONE = 0
, BP_HIT_INVALID = (1 << 0)
, BP_HIT_OPCODE = (1 << 1)
, BP_HIT_REG = (1 << 2)
, BP_HIT_MEM = (1 << 3)
, BP_HIT_MEMR = (1 << 4)
, BP_HIT_MEMW = (1 << 5)
, BP_HIT_PC_READ_FLOATING_BUS_OR_IO_MEM = (1 << 6)
, BP_HIT_INTERRUPT = (1 << 7)
, BP_DMA_TO_IO_MEM = (1 << 8)
, BP_DMA_FROM_IO_MEM = (1 << 9)
, BP_DMA_TO_MEM = (1 << 10)
, BP_DMA_FROM_MEM = (1 << 11)
, BP_HIT_VIDEO_POS = (1 << 12)
BP_HIT_NONE = 0
, BP_HIT_INVALID = (1 << 0)
, BP_HIT_OPCODE = (1 << 1)
, BP_HIT_REG = (1 << 2)
, BP_HIT_MEM = (1 << 3)
, BP_HIT_MEMR = (1 << 4)
, BP_HIT_MEMW = (1 << 5)
, BP_HIT_PC_READ_FLOATING_BUS_OR_IO_MEM = (1 << 6)
, BP_HIT_INTERRUPT = (1 << 7)
, BP_DMA_TO_IO_MEM = (1 << 8)
, BP_DMA_FROM_IO_MEM = (1 << 9)
, BP_DMA_TO_MEM = (1 << 10)
, BP_DMA_FROM_MEM = (1 << 11)
, BP_HIT_VIDEO_POS = (1 << 12)
};
extern int g_bDebugBreakpointHit;

View File

@ -1285,7 +1285,7 @@ Update_t CmdHelpSpecific (int nArgs)
ConsoleColorizePrint( " Usage: symbol" );
ConsoleBufferPush( " Looks up symbol in all 3 symbol tables: main, user, source" );
break;
// Cycles
// Cycles
case CMD_CYCLES_INFO:
ConsoleColorizePrint(" Usage: <abs|rel|part>");
ConsoleBufferPush(" Where:");
@ -1296,8 +1296,7 @@ Update_t CmdHelpSpecific (int nArgs)
case CMD_CYCLES_RESET:
ConsoleBufferPush(" Use in conjunctioned with 'cycles part' to reset to current instruction");
break;
// Video-Scanner
// Video-Scanner
case CMD_VIDEO_SCANNER_INFO:
ConsoleColorizePrint(" Usage: <dec|hex|real|apple>");
ConsoleBufferPush(" Where:");
@ -1308,7 +1307,7 @@ Update_t CmdHelpSpecific (int nArgs)
,CHC_COMMAND, CHC_DEFAULT // green
);
break;
// View
// View
case CMD_VIEW_TEXT4X:
case CMD_VIEW_TEXT41:
case CMD_VIEW_TEXT42: