Index: runtime/bin/platform_linux.cc |
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc |
index 0d3338c91588fcafa11d8f61cc4b158a8f981d40..e69466a2b0b8d12a78a605da39a36cded6d41bb3 100644 |
--- a/runtime/bin/platform_linux.cc |
+++ b/runtime/bin/platform_linux.cc |
@@ -54,6 +54,10 @@ bool Platform::Initialize() { |
perror("sigaction() failed."); |
return false; |
} |
+ if (sigaction(SIGTRAP, &act, NULL) != 0) { |
+ perror("sigaction() failed."); |
+ return false; |
+ } |
return true; |
} |