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:
bde 2016-09-09 14:09:50 +00:00
parent 094f427239
commit 705253ab44

View File

@ -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;