Can’t tell which task has exited
Supports writing Ada software for Cortex-M3, M4F boards
Status: Alpha
Brought to you by:
simonjwright
If a task exits, System.Tasking.Restricted.Stages.Wrapper
says
-- If we return here, the task procedure has exited (and not -- because of an exception, which would already have reached -- the last chance handler). raise Program_Error with "task exited, not allowed in Ravenscar”;
but it’s not at all obvious how to tell which task is involved (if indeed it’s possible).