}
#endif
+#ifdef _WIN32
+ } __except(phpdbg_exception_handler_win32(xp = GetExceptionInformation())) {
+ phpdbg_error("Access violation (Segementation fault) encountered\ntrying to abort cleanly...");
+ }
+#endif
#ifndef ZTS
/* force cleanup of auto and core globals */
zend_hash_clean(CG(auto_globals));
} zend_end_try();
sapi_shutdown();
-#ifdef _WIN32
- } __except(phpdbg_exception_handler_win32(xp = GetExceptionInformation())) {
- // if !EXCEPTION_CONTINUE_EXECUTION
- }
- #endif
+
}
if (cleaning || remote) {
int phpdbg_exception_handler_win32(EXCEPTION_POINTERS *xp);
-int __stdcall phpdbg_watch_set_segv_handler_asm();
-
#endif
\ No newline at end of file