summaryrefslogtreecommitdiff
path: root/include/my_dbug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_dbug.h')
-rw-r--r--include/my_dbug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index 3c1eb820028..ef30c95e32a 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -157,7 +157,8 @@ extern void _db_flush_();
#ifdef __WIN__
#define DBUG_SUICIDE() DBUG_ABORT()
#else
-#define DBUG_SUICIDE() (_db_flush_(), kill(getpid(), SIGKILL), pause())
+extern void _db_suicide_();
+#define DBUG_SUICIDE() (_db_flush_(), _db_suicide_())
#endif
#else /* No debugger */