pussuw commented on code in PR #13978:
URL: https://github.com/apache/nuttx/pull/13978#discussion_r1793408617


##########
arch/arm64/src/common/arm64_registerdump.c:
##########
@@ -50,7 +50,7 @@
 uintptr_t up_getusrsp(void *regs)
 {
   struct regs_context *ptr = regs;
-  return ptr->regs[REG_X13];
+  return ptr->sp_elx;

Review Comment:
   sp_elx is the kernel sp



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