From 8e308481c127982c227ea353eddaa8dea3de7597 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 19 Jun 2016 19:07:09 +0800 Subject: [PATCH] runtime: save now when terminating with exception --- artiq/runtime/ksupport.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/runtime/ksupport.c b/artiq/runtime/ksupport.c index 13c89f690..5f985e65d 100644 --- a/artiq/runtime/ksupport.c +++ b/artiq/runtime/ksupport.c @@ -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;