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:
Bruce Evans 2016-09-09 14:09:50 +00:00
parent f9da0afef0
commit 10c458cc3b

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;