Panic handler with backtrace #28

Merged
sb10q merged 1 commits from pca006132/artiq-zynq:backtrace into master 2020-07-02 20:05:06 +08:00

Added panic handler with backtrace.

Example:

panic at runtime/src/eh_artiq.rs:195:5: not implemented: top level exception handling
Backtrace: 
0x12afdc
0x10bd44
0x129990
0x1605d0
0x160484
0x122fcc
0x113f88
0x113f04
0x11446c
End backtrace
Added panic handler with backtrace. Example: ``` panic at runtime/src/eh_artiq.rs:195:5: not implemented: top level exception handling Backtrace: 0x12afdc 0x10bd44 0x129990 0x1605d0 0x160484 0x122fcc 0x113f88 0x113f04 0x11446c End backtrace ```

This PR depends on #27, the bug before with the backtrace is probably due to load/store for FPU registerse.

This PR depends on #27, the bug before with the backtrace is probably due to load/store for FPU registerse.
sb10q closed this pull request 2020-07-02 20:05:06 +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#28
There is no content yet.