projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8355e54
)
[runtime] Fix the windows build.
author
Zoltan Varga
<vargaz@gmail.com>
Thu, 28 Nov 2013 09:56:22 +0000
(10:56 +0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 28 Nov 2013 09:56:22 +0000
(10:56 +0100)
mono/mini/mini-exceptions.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini-exceptions.c
b/mono/mini/mini-exceptions.c
index e8e2d5b682ae7c17830c158ced1d293c7683b507..d0d1b98b9f1892265f2f3411ed6c383053ccda14 100644
(file)
--- a/
mono/mini/mini-exceptions.c
+++ b/
mono/mini/mini-exceptions.c
@@
-2233,9
+2233,14
@@
mono_handle_native_sigsegv (int signal, void *ctx)
if (mini_get_debug_options ()->suspend_on_sigsegv) {
mono_runtime_printf_err ("Received SIGSEGV, suspending...");
+#ifdef HOST_WIN32
+ while (1)
+ ;
+#else
while (1) {
sleep (0);
}
+#endif
}
/* To prevent infinite loops when the stack walk causes a crash */