implement backtraces on panic #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The ARTIQ firmware displays a backtrace on the UART when panicking, which makes it easier to troubleshoot problems, especially remotely when a debugger isn't available.
Currently the panic handler is implemented in this repo, while the unwinder is implemented in artiq_zynq, should we move the implementation to one place? Either move the unwinder here, or implement the panic handler in the artiq_zynq repo?
Keep a simple panic handler here. In the artiq-zynq runtime, disable this simple panic handler and replace it with the unwind-aware one.
SZL can probably keep the simple panic handler to keep its code size small.
M-Labs/artiq-zynq#28