On 8/30/2021 00:42, Sebastian Huber wrote:
Hello Kinsey,

why can't you use the existing fatal error extension for this? You just have to 
test for an RTEMS_FATAL_SOURCE_EXTENSION source.  The fatal code is a pointer 
to the exception frame.

Unfortunately, the fatal error extensions framework necessarily assumes that the exception is fatal and so does not include the machinery to perform a thread dispatch or restore the exception frame for additional execution. It could theoretically be done in the fatal error extensions context, but it would end up being reimplemented for every architecture and you'd have to unwind the stack manually. I'm sure there are other ragged edges that would have to be smoothed over as well.


Kinsey

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to