Mercurial > flash_v2
comparison packages/infra/current/include/cyg_ass.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | bf00f99aec69 |
| children | 59d97b6ba612 |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 67 # define __PRETTY_FUNCTION__ NULL | 67 # define __PRETTY_FUNCTION__ NULL |
| 68 # endif | 68 # endif |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 // ------------------------------------------------------------------------- | 71 // ------------------------------------------------------------------------- |
| 72 // this is executed to deal with failure - breakpoint it first! | 72 // This is executed to deal with failure - breakpoint it first! |
| 73 // It is declared as a weak symbol to allow user code to override the | |
| 74 // definition. | |
| 73 | 75 |
| 74 externC void | 76 externC void |
| 75 cyg_assert_fail( const char* /* psz_func */, const char* /* psz_file */, | 77 cyg_assert_fail( const char* /* psz_func */, const char* /* psz_file */, |
| 76 cyg_uint32 /* linenum */, const char* /* psz_msg */ ) | 78 cyg_uint32 /* linenum */, const char* /* psz_msg */ ) |
| 77 CYGBLD_ATTRIB_NORET; | 79 CYGBLD_ATTRIB_NORET CYGBLD_ATTRIB_WEAK; |
| 78 | 80 |
| 79 // ------------------------------------------------------------------------- | 81 // ------------------------------------------------------------------------- |
| 80 | 82 |
| 81 #ifdef CYGDBG_USE_ASSERTS | 83 #ifdef CYGDBG_USE_ASSERTS |
| 82 | 84 |
