assert: Distinguish between assert and exception

CURRENT_REGS may change during assert handling, so pass
in the 'regs' parameter at the entry point of _assert.

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
zhangyuan21
2023-04-10 21:19:12 +08:00
committed by Xiang Xiao
parent 5a1efdecfd
commit 884be2bdb9
35 changed files with 57 additions and 50 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
"_assert","assert.h","","void","FAR const char *","int","FAR const char *"
"_assert","assert.h","","void","FAR const char *","int","FAR const char *","FAR void *"
"_exit","unistd.h","","noreturn","int"
"accept4","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *","int"
"adjtime","sys/time.h","defined(CONFIG_CLOCK_TIMEKEEPING)","int","FAR const struct timeval *","FAR struct timeval *"
1 _assert assert.h void FAR const char * int FAR const char * FAR void *
2 _exit unistd.h noreturn int
3 accept4 sys/socket.h defined(CONFIG_NET) int int FAR struct sockaddr * FAR socklen_t * int
4 adjtime sys/time.h defined(CONFIG_CLOCK_TIMEKEEPING) int FAR const struct timeval * FAR struct timeval *