Debugger: Post #1191 cleanup. Add BPCHANGE params

This commit is contained in:
michaelangel007 2023-03-23 08:08:18 -07:00
parent a767763486
commit 1398e7495d
2 changed files with 18 additions and 1 deletions

View File

@ -418,6 +418,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
{TEXT("W") , NULL, PARAM_BP_WRITE },
{TEXT("@") , NULL, PARAM_BP_WRITE },
{TEXT("*") , NULL, PARAM_BP_READ_WRITE },
// Breakpoint Change, See: CmdBreakpointChange ()
{TEXT("E") , NULL, PARAM_BP_CHANGE_ENABLE },
{TEXT("e") , NULL, PARAM_BP_CHANGE_DISABLE },
{TEXT("T") , NULL, PARAM_BP_CHANGE_TEMP_ON },
{TEXT("t") , NULL, PARAM_BP_CHANGE_TEMP_OFF },
{TEXT("S") , NULL, PARAM_BP_CHANGE_STOP_ON },
{TEXT("s") , NULL, PARAM_BP_CHANGE_STOP_OFF },
// Regs (for PUSH / POP)
{TEXT("A") , NULL, PARAM_REG_A },
{TEXT("X") , NULL, PARAM_REG_X },

View File

@ -1366,8 +1366,18 @@ const DisasmData_t* pDisasmData; // If != NULL then bytes are marked up as data
// , PARAM_SIZE // TODO: used by FONT SIZE
, _PARAM_BP_CHANGE_BEGIN = _PARAM_BREAKPOINT_END // Daisy Chain
, PARAM_BP_CHANGE_ENABLE = _PARAM_BP_CHANGE_BEGIN // E
, PARAM_BP_CHANGE_DISABLE // e
, PARAM_BP_CHANGE_TEMP_ON // T
, PARAM_BP_CHANGE_TEMP_OFF // t
, PARAM_BP_CHANGE_STOP_ON // S
, PARAM_BP_CHANGE_STOP_OFF // s
, _PARAM_BP_CHANGE_END
, PARAM_BP_CHANGE_NUM = _PARAM_BP_CHANGE_END - _PARAM_BP_CHANGE_BEGIN
// Note: Order must match BreakpointSource_t
, _PARAM_REGS_BEGIN = _PARAM_BREAKPOINT_END // Daisy Chain
, _PARAM_REGS_BEGIN = _PARAM_BP_CHANGE_END // Daisy Chain
// Regs
, PARAM_REG_A = _PARAM_REGS_BEGIN
, PARAM_REG_X