hujun260 commented on code in PR #14960:
URL: https://github.com/apache/nuttx/pull/14960#discussion_r1859423787


##########
arch/xtensa/src/common/xtensa_backtrace.c:
##########
@@ -277,8 +277,8 @@ int up_backtrace(struct tcb_s *tcb, void **buffer, int 
size, int skip)
 #endif
           ret += backtrace_stack(rtcb->stack_base_ptr,
                                  rtcb->stack_base_ptr + rtcb->adj_stack_size,
-                                 (void *)up_current_regs()[REG_A1],
-                                 (void *)up_current_regs()[REG_A0],
+                                 (void *)running_regs()[REG_A1],

Review Comment:
   done



##########
arch/xtensa/src/common/xtensa.h:
##########
@@ -230,6 +230,14 @@ void xtensa_panic(int xptcode, uint32_t *regs) 
noreturn_function;
 void xtensa_user_panic(int exccause, uint32_t *regs) noreturn_function;
 uint32_t *xtensa_user(int exccause, uint32_t *regs);
 
+/* IRQ Flag */
+
+noinstrument_function
+static inline_function void up_set_interrupt_context(bool flag)

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to