From 7cdf81c108da99a05becc875182cee065167e91c Mon Sep 17 00:00:00 2001 From: bernie Date: Thu, 27 Apr 2006 05:40:27 +0000 Subject: [PATCH] Break on assertion failures. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@598 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/kdebug.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.25.1