[M3devel] Alpha/OSF exception handling

Jay K jay.krell at cornell.edu
Sun Jul 18 15:35:51 CEST 2010


Modula-3 for ALPHA_OSF historically had the best exception handling implementation.

With Solaris/sparc32 second best.

And then everything else equally bad.





The current Alpha/osf is now in the "equally bad" category.
Because I'm lazy.

It might be worth restoring its former glory.



Maybe a small project for someone?


The code is still in there. I just tweaked the m3makefiles to avoid trying it.


jbook2:runtime jay$ pwd
/dev2/cm3/m3-libs/m3core/src/runtime
jbook2:runtime jay$ find ALPHA_OSF
ALPHA_OSF/m3makefile-old

Renaming that m3makefile.

Fiddling with this:

book2:runtime jay$ grep STACK *
m3makefile:readonly HAS_STACK_WALKER = {
m3makefile:if defined("M3_USE_STACK_WALKER")
m3makefile:  if M3_USE_STACK_WALKER and HAS_STACK_WALKER contains TARGET
m3makefile:    if HAS_STACK_WALKER{TARGET}


and this:


jbook2:src jay$ pwd
/dev2/cm3/m3-sys/m3middle/src


book2:src jay$ grep -i _stack *m3
Target.m3:    Has_stack_walker          := FALSE;
Target.m3:                 Has_stack_walker := TRUE;


 - Jay
 		 	   		  


More information about the M3devel mailing list