From 378ca64193b5f5b05a644c50d8f8073581ec3c7a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 25 Sep 2014 12:55:22 +0800 Subject: [PATCH] soc/runtime/exception: fix eid bug --- soc/runtime/exceptions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/runtime/exceptions.c b/soc/runtime/exceptions.c index 263913e33..34e0affde 100644 --- a/soc/runtime/exceptions.c +++ b/soc/runtime/exceptions.c @@ -30,5 +30,6 @@ int exception_getid(void) void exception_raise(int id) { + stored_id = id; exception_longjmp(exception_contexts[--ec_top].jb); }