Gary-Hobson opened a new pull request, #18106: URL: https://github.com/apache/nuttx/pull/18106
## Summary This PR fixes the backtrace return address precision issue on ARM64 architecture. The return address stored in the frame points to the instruction after the call. To accurately identify the call site, we need to subtract the instruction size (sizeof(void *)) from the saved return address. ## Impact This ensures that backtrace addresses correctly point to the calling instruction rather than the next instruction, improving debugging accuracy. ## Testing Tested on ARM64 platform and verified that backtrace addresses now correctly point to the actual call sites. -- 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]
