On 03/12/2014 02:17 PM, Vsevolod Alekseyev wrote:
It's one possible implementation, but hardly the only one. In fact, this
kind of implementation would have testable consequences - specifically, a
*short* amount of ARM would be able to run unmolested in a debuggerless
environment - i. e. if no interrupts come while in ARM mode. I'll try it
when I get a chance.
You can't prevent interrupts when in Usermode. So even a short function
will crash sometimes.
When you do a non-Thumb function that does not call any other function
same only can be influenced by an interrupt. So if it crashes at all,
you know that the interrupt logic of the OS is buggy.
-Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel