From 0e002af323ffcb599f7c48452528a622923fa87e Mon Sep 17 00:00:00 2001 From: zhuyanlin Date: Mon, 15 Nov 2021 17:43:50 +0800 Subject: [PATCH] xtensa_backtrace: fix typ error N/A Signed-off-by: zhuyanlin --- arch/xtensa/src/common/xtensa_backtrace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/xtensa/src/common/xtensa_backtrace.c b/arch/xtensa/src/common/xtensa_backtrace.c index bed7a1ce05..3a6cc89679 100644 --- a/arch/xtensa/src/common/xtensa_backtrace.c +++ b/arch/xtensa/src/common/xtensa_backtrace.c @@ -234,9 +234,9 @@ int up_backtrace(struct tcb_s *tcb, void **buffer, int size) #endif xtensa_window_spill(); - ret = bactrace_stack((void *)istackbase, - (void *)((uint32_t)&g_intstackalloc + - CONFIG_ARCH_INTERRUPTSTACK), + ret = backtrace_stack((void *)istackbase, + (void *)(istackbase + + CONFIG_ARCH_INTERRUPTSTACK), (void *)up_getsp(), NULL, buffer, size); #else ret = backtrace_stack(rtcb->stack_base_ptr,