Fix stopping when the specified breakpoint count is reached. The
countdown was done correctly, but the action when the count was not reduced to 0 was to fall through to generic code which almost always stopped.
This commit is contained in:
parent
094f427239
commit
705253ab44
@ -125,6 +125,7 @@ db_stop_at_pc(bool *is_breakpoint)
|
||||
*is_breakpoint = true;
|
||||
return (true); /* stop here */
|
||||
}
|
||||
return (false); /* continue the countdown */
|
||||
} else if (*is_breakpoint) {
|
||||
#ifdef BKPT_SKIP
|
||||
BKPT_SKIP;
|
||||
|
Loading…
Reference in New Issue
Block a user