esp_system: fix instrprohibited panic backtrace regression

First PC should have been ignored in the case of InstProhibited panic
when printing backtrace.
This commit is contained in:
Renz Bagaporo
2021-04-05 22:00:14 +08:00
parent 7702060967
commit 75624c5355
3 changed files with 9 additions and 5 deletions

View File

@@ -41,6 +41,7 @@ typedef struct {
uint32_t pc; /* PC of the current frame */
uint32_t sp; /* SP of the current frame */
uint32_t next_pc; /* PC of the current frame's caller */
const void *exc_frame; /* Pointer to the full frame data structure, if applicable */
} esp_backtrace_frame_t;
/**