Add exc dump.
Change-Id: Ie3b925f89a01ade5f4a4fae6ff2eff94d97176da
This commit is contained in:
@@ -60,10 +60,10 @@ VOID OsBackTraceHookSet(BACK_TRACE_HOOK hook)
|
||||
}
|
||||
}
|
||||
|
||||
VOID OsBackTraceHookCall(UINTPTR *LR, UINT32 LRSize, UINT32 jumpCount)
|
||||
VOID OsBackTraceHookCall(UINTPTR *LR, UINT32 LRSize, UINT32 jumpCount, UINTPTR SP)
|
||||
{
|
||||
if (g_backTraceHook != NULL) {
|
||||
g_backTraceHook(LR, LRSize, jumpCount);
|
||||
g_backTraceHook(LR, LRSize, jumpCount, SP);
|
||||
} else {
|
||||
PRINT_ERR("Record LR failed, because of g_backTraceHook is not registered, "
|
||||
"should call LOS_BackTraceInit firstly\n");
|
||||
|
||||
Reference in New Issue
Block a user