ESP-IDF
esp_backtrace_frame_t::next_pc
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_backtrace_frame_t::next_pc
esp_backtrace_frame_t::next_pc field
Syntax
Show:
Summary
Declaration
from
esp_debug_helpers.h:36
uint32_t
next_pc
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
next_pc
;
/* PC of the current frame's caller */
esp_debug_helpers.h:36
frame
->
pc
=
frame
->
next_pc
;
debug_helpers.c:31
esp_backtrace_get_next_frame()
frame
->
next_pc
=
*
(
(
uint32_t
*
)
(
base_save
-
16
)
)
;
//If next_pc = 0, indicates frame(i-1) is the last frame on the stack
debug_helpers.c:32
esp_backtrace_get_next_frame()
while
(
i
--
>
0
&&
stk_frame
.
next_pc
!=
0
&&
!
corrupted
)
{
debug_helpers.c:81
esp_backtrace_print_from_frame()
}
else
if
(
stk_frame
.
next_pc
!=
0
)
{
//Backtrace continues
debug_helpers.c:93
esp_backtrace_print_from_frame()
esp_backtrace_get_start
(
&
(
start
.
pc
)
,
&
(
start
.
sp
)
,
&
(
start
.
next_pc
)
)
;
debug_helpers.c:104
esp_backtrace_print()
stk_frame
.
next_pc
=
ctrl
.
cur_tasks
[
core_id
]
.
next_pc
;
debug_helpers.c:220
esp_backtrace_print_all_tasks()
stk_frame
.
next_pc
=
exc_frame
->
a0
;
debug_helpers.c:226
esp_backtrace_print_all_tasks()
esp_backtrace_frame_t
frame
=
{
.
pc
=
xt_frame
->
pc
,
.
sp
=
xt_frame
->
a1
,
.
next_pc
=
xt_frame
->
a0
,
.
exc_frame
=
xt_frame
}
;
panic_arch.c:479
panic_print_backtrace()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_backtrace_frame_t::next_pc
is written by 2 functions and is read by 3 functions:
esp_backtrace_get_next_frame()
esp_backtrace_print_all_tasks()
All items filtered out
esp_backtrace_frame_t::next_pc
esp_backtrace_get_next_frame()
esp_backtrace_print_from_frame()
esp_backtrace_print()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out