mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
xtensa_backtrace: fix typ error
N/A Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
@@ -234,9 +234,9 @@ int up_backtrace(struct tcb_s *tcb, void **buffer, int size)
|
|||||||
#endif
|
#endif
|
||||||
xtensa_window_spill();
|
xtensa_window_spill();
|
||||||
|
|
||||||
ret = bactrace_stack((void *)istackbase,
|
ret = backtrace_stack((void *)istackbase,
|
||||||
(void *)((uint32_t)&g_intstackalloc +
|
(void *)(istackbase +
|
||||||
CONFIG_ARCH_INTERRUPTSTACK),
|
CONFIG_ARCH_INTERRUPTSTACK),
|
||||||
(void *)up_getsp(), NULL, buffer, size);
|
(void *)up_getsp(), NULL, buffer, size);
|
||||||
#else
|
#else
|
||||||
ret = backtrace_stack(rtcb->stack_base_ptr,
|
ret = backtrace_stack(rtcb->stack_base_ptr,
|
||||||
|
|||||||
Reference in New Issue
Block a user