no1wudi commented on a change in pull request #5645:
URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r826682199
##########
File path: arch/arm/src/armv7-m/arm_schedulesigaction.c
##########
@@ -155,7 +146,20 @@ void up_schedule_sigaction(struct tcb_s *tcb,
sig_deliver_t sigdeliver)
* as the interrupt return context.
*/
- arm_savestate(tcb->xcp.regs);
+ arm_savestate(tcb->xcp.saved_regs);
+
Review comment:
Move the new block before line 134 since we must save origin context
before setup to sigdeliver
--
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]