Improved abort handling
Detail: * One check for 26-bit mode wan't being made, leading to the runtime reporting 'Uncaught trap:' when a trap should have been catching the abort. This prevented signal handlers from trapping some aborts. * When an abort was occuring in SVC mode, the stack wasn't being flattened, resulting in all sorts of nasty things when you tried to carry on from a signal handler (probably the main reason why you ever see 'No stack for trap handler'). SVC and undefined stacks are now flattened. Further work should be done to restore the state of the OS after an abort, but this probably requires a new OS call to tidy itself up adequately. Admin: Built 26-bit versions of the library with new 32-bit compatible entry points and checked abort handling with both sharedclibrary and ansilib. Version 5.22. Tagged as 'RISC_OSLib-5_22'
Showing
Please register or sign in to comment