Index: runtime/vm/os_win.cc |
diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc |
index 7c32ec6a258cd2a1e5b8ae02d1a031f8829ec972..1f66ad4a3fba206d9a329f34215286f1324cc556 100644 |
--- a/runtime/vm/os_win.cc |
+++ b/runtime/vm/os_win.cc |
@@ -186,8 +186,7 @@ void OS::DebugBreak() { |
// Microsoft Visual C/C++ or drop-in replacement. |
__debugbreak(); |
#elif defined(__GCC__) |
- // MinGW? |
- asm("int $3"); |
+ __builtin_trap(); |
#else |
// Microsoft style assembly. |
__asm { |