You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pussuw (via GitHub)" <gi...@apache.org> on 2023/01/24 12:23:09 UTC
[GitHub] [nuttx] pussuw opened a new pull request, #8226: riscv/riscv_exception.c: Print the EPC value always
pussuw opened a new pull request, #8226:
URL: https://github.com/apache/nuttx/pull/8226
## Summary
The value printed by assert() cannot always be trusted to be correct, as it relies on the stack / stack pointer not being corrupt.
The CPU register always points to the faulting instruction so print it out in the exception handler.
## Impact
Minimal, riscv only
## Testing
icicle:knsh
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 commented on pull request #8226: riscv/riscv_exception.c: Print the EPC value always
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #8226:
URL: https://github.com/apache/nuttx/pull/8226#issuecomment-1402270710
CI break is fixed here: https://github.com/apache/nuttx/pull/8229. Let's merge this simple change directly.
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 merged pull request #8226: riscv/riscv_exception.c: Print the EPC value always
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #8226:
URL: https://github.com/apache/nuttx/pull/8226
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org