Index: chrome/plugin/plugin_main.cc |
diff --git a/chrome/plugin/plugin_main.cc b/chrome/plugin/plugin_main.cc |
index 375831a55f7ac669fad95086f4ee5099c99802cd..4de91eb7a2af4c861c55b3ea69b4753cf95e6a15 100644 |
--- a/chrome/plugin/plugin_main.cc |
+++ b/chrome/plugin/plugin_main.cc |
@@ -74,8 +74,12 @@ int PluginMain(const MainFunctionParams& parameters) { |
<< getpid() |
<< ") paused waiting for debugger to attach @ pid"; |
pause(); |
-#else |
- NOTIMPLEMENTED() << " non-windows startup, plugin startup dialog etc."; |
+#elif defined(OS_LINUX) |
+ LOG(WARNING) << "Plugin (" |
+ << getpid() |
+ << ") paused waiting for debugger to attach."; |
+ volatile bool paused = true; |
+ while (paused) ; |
#endif |
} |