aboutsummaryrefslogtreecommitdiffstats
path: root/arena.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2001-10-23 17:09:23 +0000
committerH. Peter Anvin <hpa@zytor.com>2001-10-23 17:09:23 +0000
commit0eca7bb7913aa0c6c642c1ea13a981ac89345de3 (patch)
tree0ae204355d632573a909635c2877648df4396493 /arena.c
parent18a1b3bf7b3974d264243377a2ea51c7656c4473 (diff)
downloadlpsm-0eca7bb7913aa0c6c642c1ea13a981ac89345de3.tar.gz
lpsm-0eca7bb7913aa0c6c642c1ea13a981ac89345de3.tar.xz
lpsm-0eca7bb7913aa0c6c642c1ea13a981ac89345de3.zip
Fix lpsm_zalloc(), and make debugging build work again.lpsm-0.1.6
Diffstat (limited to 'arena.c')
-rw-r--r--arena.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arena.c b/arena.c
index 0de97d9..ff8d2bf 100644
--- a/arena.c
+++ b/arena.c
@@ -145,7 +145,10 @@ static void lpsm_sigsegv(int signal, siginfo_t *siginfo, void *ptr)
siginfo->si_addr, (void *)ctxt->eip);
#endif
#endif
-
+#ifdef PRINT_DEBUG_INFO
+ abort(); /* Easier to tell from SIGSEGV */
+#endif
+
errno = old_errno;
return; /* Re-take fault */
}