implement backtraces on panic #3
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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