xiaoxiang781216 commented on a change in pull request #5541:
URL: https://github.com/apache/incubator-nuttx/pull/5541#discussion_r811553916



##########
File path: arch/xtensa/src/common/xtensa_swint.c
##########
@@ -123,10 +197,10 @@ int xtensa_svcall(int irq, void *context, void *arg)
       svcinfo(" PC: %08x PS: %08x\n",
               regs[REG_PC], regs[REG_PS]);
     }
-# ifdef CONFIG_DEBUG_SVCALL
+# ifdef CONFIG_DEBUG_SYSCALL
   else
     {
-      svcinfo("SVCall Return: %d\n", regs[REG_A0]);
+      svcinfo("SVCall Return: %d\n", regs[REG_A2]);

Review comment:
       replace all SVCall to SYSCALL




-- 
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