Disabled the code to throw signals on EM traps; this is the platform's job (and requires working signal support, which we may not have).

This commit is contained in:
dtrg 2007-04-29 20:46:48 +00:00
parent c9d7f7ef23
commit 9d0f0a8fdd

View file

@ -17,6 +17,9 @@
* *
*/ */
/* Disabled catch handler --- this is the platform's job. dtrg */
#undef CATCHHANDLER
mes 2,_EM_WSIZE,_EM_PSIZE mes 2,_EM_WSIZE,_EM_PSIZE
exa environ exa environ
@ -30,10 +33,12 @@
loi _EM_PSIZE loi _EM_PSIZE
lae environ lae environ
sti _EM_PSIZE sti _EM_PSIZE
#ifdef CATCHHANDLER
#if __unix && ! (__em22 || __em24 || __em44) #if __unix && ! (__em22 || __em24 || __em44)
lpi $_ctch_ lpi $_ctch_
sig sig
asp _EM_PSIZE asp _EM_PSIZE
#endif
#endif #endif
lal _EM_WSIZE+_EM_PSIZE lal _EM_WSIZE+_EM_PSIZE
loi _EM_PSIZE loi _EM_PSIZE
@ -47,6 +52,7 @@
cal $exit cal $exit
end end
#ifdef CATCHHANDLER
#if __unix && ! (__em22 || __em24 || __em44) #if __unix && ! (__em22 || __em24 || __em44)
exp $_ctch_ exp $_ctch_
pro $_ctch_,0 pro $_ctch_,0
@ -72,3 +78,4 @@
rtt rtt
end 0 end 0
#endif #endif
#endif