Panic and uncaught exception handling #60

Merged
sb10q merged 2 commits from pca006132/artiq-zynq:exception into master 2020-07-16 17:11:36 +08:00
  • Added core ID in panic message.
  • Prevented nested panic, which might happen when the kernel buffer is corrupted and the panic handler tries to obtain a backtrace through the corrupted buffer. (and libunwind would call abort which is just an alias for panic in our implementation...)
  • Added error message when the kernel throws an uncaught exception to notify the user, as core1 would not be restarted currently and uncaught exception is not recoverable now.
* Added core ID in panic message. * Prevented nested panic, which might happen when the kernel buffer is corrupted and the panic handler tries to obtain a backtrace through the corrupted buffer. (and libunwind would call abort which is just an alias for panic in our implementation...) * Added error message when the kernel throws an uncaught exception to notify the user, as core1 would not be restarted currently and uncaught exception is not recoverable now.
sb10q closed this pull request 2020-07-16 17:11:36 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#60
There is no content yet.