Skip to content
Commit 52fd2ac9 authored by Emil Ohlsson's avatar Emil Ohlsson
Browse files

Have asserts call abort on error



The current KAI_ASSERT() function will exit the program using
`exit(EXIT_FAILURE)` which is unhelpful when running the program under a
debugger, as this will not trap the execution.

This change changes the call to `abort()` instead

Signed-off-by: Emil Ohlsson's avatarEmil Ohlsson <emil.ohlsson@arm.com>

Approved-by: Jakub Sujak's avatarJakub Sujak <jakub.sujak@arm.com>
parent 7e8c4baf
Loading
Loading
Loading
Pipeline #17006 passed with stages
in 3 minutes
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment