On page faults FreeBSD/Alpha gives SIGSEGV instead of SIGBUS.
This commit is contained in:
parent
5c28381afa
commit
eebcea308e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21933
1 changed files with 8 additions and 4 deletions
|
@ -1,10 +1,14 @@
|
|||
--- Makefile.orig Fri Jan 20 05:33:04 1995
|
||||
+++ Makefile Wed Nov 12 22:47:51 1997
|
||||
@@ -4,7 +4,7 @@
|
||||
--- Makefile.orig Thu Jan 19 23:33:04 1995
|
||||
+++ Makefile Tue Sep 21 17:44:46 1999
|
||||
@@ -4,7 +4,10 @@
|
||||
INSTALL= install
|
||||
MV= mv
|
||||
CHMOD= chmod
|
||||
-CFLAGS= -g
|
||||
+CFLAGS+= -g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
|
||||
+CFLAGS+= -g
|
||||
+.if ${MACHINE_ARCH} == "i386"
|
||||
+CFLAGS+= -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
|
||||
+.endif
|
||||
LIB_INSTALL_DIR= /usr/lib
|
||||
MAN_INSTALL_DIR= /usr/man/man3
|
||||
|
||||
|
|
Loading…
Reference in a new issue