2bb78f3e1a
Zephyr's thread stack size is not fixed, in most cases we would need the `thread` argument to obtain the `stack_info`, unless we are unwinding the irq stack, since that is fixed. Otherwise we can only safely print the current `mepc` register, unwinding the esf without the stack info of a thread can result in undefined behavior. Signed-off-by: Yong Cong Sin <ycsin@meta.com> |
||
---|---|---|
.. | ||
offsets | ||
CMakeLists.txt | ||
asm_macros.inc | ||
coredump.c | ||
cpu_idle.c | ||
fatal.c | ||
fpu.S | ||
fpu.c | ||
irq_manage.c | ||
irq_offload.c | ||
isr.S | ||
pmp.S | ||
pmp.c | ||
prep_c.c | ||
reboot.c | ||
reset.S | ||
semihost.c | ||
smp.c | ||
stacktrace.c | ||
switch.S | ||
thread.c | ||
tls.c | ||
userspace.S | ||
vector_table.ld |