Преглед изворни кода

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).

dtrg пре 17 година
родитељ
комит
ac72c550ba
1 измењених фајлова са 7 додато и 0 уклоњено
  1. 7 0
      lang/cem/libcc.ansi/head_ac.e

+ 7 - 0
lang/cem/libcc.ansi/head_ac.e

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