summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdike <jdike>2003-08-07 18:57:53 +0000
committerjdike <jdike>2003-08-07 18:57:53 +0000
commitc1d2e936778ef9e36685cc1239a9abb086437d97 (patch)
treec9848d287320ad3837378ec1c9d698c38c8e53fd
parent3d144b4899bc6b6c6935601bfbf9422f2d1de17d (diff)
downloaduml-history-c1d2e936778ef9e36685cc1239a9abb086437d97.tar.gz
Removed trap type 13 from the fixable segfault types since I can't see how
to make it happen.
-rw-r--r--arch/um/include/sysdep-i386/sigcontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/sysdep-i386/sigcontext.h b/arch/um/include/sysdep-i386/sigcontext.h
index 26c70cf..887fdb6 100644
--- a/arch/um/include/sysdep-i386/sigcontext.h
+++ b/arch/um/include/sysdep-i386/sigcontext.h
@@ -28,8 +28,8 @@
*/
#define SC_START_SYSCALL(sc) do SC_EAX(sc) = -ENOSYS; while(0)
-/* These are General Protection and Page Fault */
-#define SEGV_IS_FIXABLE(trap) ((trap == 13) || (trap == 14))
+/* This is Page Fault */
+#define SEGV_IS_FIXABLE(trap) (trap == 14)
#define SC_SEGV_IS_FIXABLE(sc) (SEGV_IS_FIXABLE(SC_TRAPNO(sc)))