Debugger breakpoints: Rename "Result" to "Action"

This commit is contained in:
Henrik Rydgård committed 2026-08-16 16:59:54 +02:00
1 parent 9f90512ef6
commit c457dbbd2f
6 files changed
+84 -74

No files matched your search

+5 -5
View File
@@ -204,7 +204,7 @@ bool BreakpointWindow::exec() {
}
void BreakpointWindow::addBreakpoint() {
BreakAction result = BREAK_ACTION_IGNORE;
BreakAction result = BREAK_ACTION_NONE;
if (log)
result |= BREAK_ACTION_LOG;
if (enabled)
@@ -256,8 +256,8 @@ void BreakpointWindow::loadFromMemcheck(const MemCheck &memcheck) {
write = (memcheck.cond & MEMCHECK_WRITE) != 0;
onChange = (memcheck.cond & MEMCHECK_WRITE_ONCHANGE) != 0;
log = (memcheck.result & BREAK_ACTION_LOG) != 0;
enabled = (memcheck.result & BREAK_ACTION_PAUSE) != 0;
log = (memcheck.action & BREAK_ACTION_LOG) != 0;
enabled = (memcheck.action & BREAK_ACTION_PAUSE) != 0;
address = memcheck.start;
size = memcheck.end - address;
@@ -275,8 +275,8 @@ void BreakpointWindow::loadFromMemcheck(const MemCheck &memcheck) {
void BreakpointWindow::loadFromBreakpoint(const BreakPoint& breakpoint) {
memory = false;
log = (breakpoint.result & BREAK_ACTION_LOG) != 0;
enabled = (breakpoint.result & BREAK_ACTION_PAUSE) != 0;
log = (breakpoint.action & BREAK_ACTION_LOG) != 0;
enabled = (breakpoint.action & BREAK_ACTION_PAUSE) != 0;
address = breakpoint.addr;
size = 1;