commit 91007a9244e60b1c2690a60ac3d0b7eaecd94266
parent 1ce643acc3768d67e5769514bd626bd18365f3b2
Author: Roberto Vargas <roberto.vargas@arm.com>
Date: Tue, 23 Oct 2018 11:35:06 +0100
[test] Add abort after calling trap()
Trap() cannot return, so we have to catch this error
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/test4/test.c b/test/test4/test.c
@@ -39,6 +39,7 @@ dopanic(void)
frame.esr = 33, frame.far = 34;
frame.sp = (void *)0xdeadbabe;
trap(&frame);
+ abort();
}
void