mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
f9da0afef0
commit
10c458cc3b
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue