svn commit: r305663 - head/sys/ddb
Bruce Evans
bde at FreeBSD.org
Fri Sep 9 14:09:51 UTC 2016
Author: bde
Date: Fri Sep 9 14:09:50 2016
New Revision: 305663
URL: https://svnweb.freebsd.org/changeset/base/305663
Log:
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.
Modified:
head/sys/ddb/db_run.c
Modified: head/sys/ddb/db_run.c
==============================================================================
--- head/sys/ddb/db_run.c Fri Sep 9 13:27:20 2016 (r305662)
+++ head/sys/ddb/db_run.c Fri Sep 9 14:09:50 2016 (r305663)
@@ -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;
More information about the svn-src-head
mailing list