2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

runtime: save now when terminating with exception

This commit is contained in:
Sebastien Bourdeauducq 2016-06-19 19:07:09 +08:00
parent 2ae20fbc4d
commit 8e308481c1

View File

@ -423,6 +423,8 @@ void __artiq_terminate(struct artiq_exception *artiq_exn,
{
struct msg_exception msg;
now_save();
msg.type = MESSAGE_TYPE_EXCEPTION;
msg.exception = artiq_exn;
msg.backtrace = backtrace;