Home
last modified time | relevance | path

Searched refs:stk_frame (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.7.0/components/esp_system/port/arch/xtensa/
Ddebug_helpers.c65 esp_backtrace_frame_t stk_frame = { 0 }; in esp_backtrace_print_from_frame() local
66 memcpy(&stk_frame, frame, sizeof(esp_backtrace_frame_t)); in esp_backtrace_print_from_frame()
69 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame()
72 bool corrupted = !(esp_stack_ptr_is_sane(stk_frame.sp) && in esp_backtrace_print_from_frame()
73 (esp_ptr_executable((void *)esp_cpu_process_stack_pc(stk_frame.pc)) || in esp_backtrace_print_from_frame()
75 …(stk_frame.exc_frame && ((XtExcFrame *)stk_frame.exc_frame)->exccause == EXCCAUSE_INSTR_PROHIBITED… in esp_backtrace_print_from_frame()
78 while (i-- > 0 && stk_frame.next_pc != 0 && !corrupted) { in esp_backtrace_print_from_frame()
79 if (!esp_backtrace_get_next_frame(&stk_frame)) { //Get previous stack frame in esp_backtrace_print_from_frame()
82 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame()
90 } else if (stk_frame.next_pc != 0) { //Backtrace continues in esp_backtrace_print_from_frame()