1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/lang/polyml/files/patch-driver-i386_dep.c
Simon Barner fbc1517ea7 Add polyml 4.1.3, a fast open-source implementation of Standard ML.
PR:		83433
Submitted by:	Timothy Bourke <timbob@bigpond.com>
2005-07-29 07:19:56 +00:00

18 lines
534 B
C

--- i386_dep.c.orig Sun Jun 12 14:32:11 2005
+++ i386_dep.c Sun Jun 12 14:45:17 2005
@@ -473,9 +473,14 @@
else
{
signal(SIGSEGV,SIG_DFL);
+#ifdef FREEBSD
+ fprintf(stderr,"catchSEGV; &context = %p, in_run_time_system=%i, context.trapno=%ld\n",
+ scp, in_run_time_system, scp->sc_trapno);
+#else
fprintf(stderr,"catchSEGV; &context = %p, in_run_time_system=%i, context.trapno=%ld\n",
&context, in_run_time_system, context.trapno);
signal(SIGSEGV,catchSEGV);
+#endif
}
#endif