Index: runtime/vm/thread_interrupter_android.cc |
diff --git a/runtime/vm/thread_interrupter_android.cc b/runtime/vm/thread_interrupter_android.cc |
index 30bd440cb64aed94840e042d29e753954cc24c7a..af066c3ce6e83f29ac53b41145dee11345243abc 100644 |
--- a/runtime/vm/thread_interrupter_android.cc |
+++ b/runtime/vm/thread_interrupter_android.cc |
@@ -47,10 +47,15 @@ class ThreadInterrupterAndroid : public AllStatic { |
}; |
+bool ThreadInterrupter::IsDebuggerAttached() { |
+ return false; |
+} |
+ |
+ |
void ThreadInterrupter::InterruptThread(OSThread* thread) { |
if (FLAG_trace_thread_interrupter) { |
- OS::Print("ThreadInterrupter interrupting %p\n", |
- reinterpret_cast<void*>(thread->id())); |
+ OS::PrintErr("ThreadInterrupter interrupting %p\n", |
+ reinterpret_cast<void*>(thread->id())); |
} |
int result = syscall(__NR_tgkill, getpid(), thread->id(), SIGPROF); |
ASSERT((result == 0) || (result == ESRCH)); |