hitHuang commented on code in PR #19479:
URL: https://github.com/apache/nuttx/pull/19479#discussion_r3610569148


##########
sched/sched/sched_backtrace.c:
##########
@@ -121,25 +143,41 @@ int sched_backtrace(pid_t tid, FAR void **buffer, int 
size, int skip)
               tcb->task_state == TSTATE_TASK_RUNNING)
             {
               struct backtrace_arg_s arg;
+              bool need_restore;
+#ifdef CONFIG_ARCH_ADDRENV
+              FAR void *scratch[BACKTRACE_SCRATCH_DEPTH];
+              FAR void **dest = scratch;

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