about summary refs log tree commit diff
path: root/src/rt/rust_debug.h
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-02 01:13:51 -0700
committerbors <bors@rust-lang.org>2013-08-02 01:13:51 -0700
commitdbde42e59e6854979085f3b8a949f307b4da8ffa (patch)
tree46c2cf29dcfe88caaf3460593156be4cf0cd6bff /src/rt/rust_debug.h
parentbbcce8d95c582d3f918fe4e978d6a715efd991e9 (diff)
parent05eff5f731fbdf0597bb6a4b94a7603571ff66b6 (diff)
downloadrust-dbde42e59e6854979085f3b8a949f307b4da8ffa.tar.gz
rust-dbde42e59e6854979085f3b8a949f307b4da8ffa.zip
auto merge of #8175 : brson/rust/nodbg, r=graydon
This stuff is ancient, unused, and tied to oldsched
Diffstat (limited to 'src/rt/rust_debug.h')
-rw-r--r--src/rt/rust_debug.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/rt/rust_debug.h b/src/rt/rust_debug.h
index 7f025bb908e..951d2c36cb8 100644
--- a/src/rt/rust_debug.h
+++ b/src/rt/rust_debug.h
@@ -17,19 +17,6 @@
 #include <string>
 #include <cstdlib>
 
-#ifndef _WIN32
-
-#include <signal.h>
-#define BREAKPOINT_AWESOME                      \
-    do {                                        \
-        signal(SIGTRAP, SIG_IGN);               \
-        raise(SIGTRAP);                         \
-    } while (0)
-
-#else
-#define BREAKPOINT_AWESOME
-#endif
-
 struct rust_task;
 
 namespace debug {