X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fkdebug.c;h=1bf07e43eda21ded245be6abc51e5ee5c29b78ef;hb=7cdf81c108da99a05becc875182cee065167e91c;hp=502711500c79f48cc36498df06a35b3e6cfa0a2b;hpb=c5049d7bb6178222c952030c2f2a6f52a43ddda1;p=bertos.git diff --git a/drv/kdebug.c b/drv/kdebug.c index 50271150..1bf07e43 100755 --- a/drv/kdebug.c +++ b/drv/kdebug.c @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.26 2006/04/27 05:40:27 bernie + *#* Break on assertion failures. + *#* *#* Revision 1.25 2005/06/27 21:26:24 bernie *#* Misc PGM fixes. *#* @@ -347,6 +350,7 @@ int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, i PGM_FUNC(kputs)(PGM_STR("Assertion failed: ")); PGM_FUNC(kputs)(cond); kputchar('\n'); + BREAKPOINT; return 1; }