Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_system/port/arch/xtensa/
Ddebug_helpers.c73 esp_backtrace_frame_t stk_frame = { 0 }; in esp_backtrace_print_from_frame() local
74 memcpy(&stk_frame, frame, sizeof(esp_backtrace_frame_t)); in esp_backtrace_print_from_frame()
77 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame()
80 bool corrupted = !(esp_stack_ptr_is_sane(stk_frame.sp) && in esp_backtrace_print_from_frame()
81 (esp_ptr_executable((void *)esp_cpu_process_stack_pc(stk_frame.pc)) || in esp_backtrace_print_from_frame()
83 …(stk_frame.exc_frame && ((XtExcFrame *)stk_frame.exc_frame)->exccause == EXCCAUSE_INSTR_PROHIBITED… in esp_backtrace_print_from_frame()
86 while (i-- > 0 && stk_frame.next_pc != 0 && !corrupted) { in esp_backtrace_print_from_frame()
87 if (!esp_backtrace_get_next_frame(&stk_frame)) { //Get previous stack frame in esp_backtrace_print_from_frame()
90 print_entry(esp_cpu_process_stack_pc(stk_frame.pc), stk_frame.sp, panic); in esp_backtrace_print_from_frame()
99 } else if (stk_frame.next_pc != 0) { //Backtrace continues in esp_backtrace_print_from_frame()