Default jdwpOptions to suspend=n,server=y
These options are basically required to actually attach a JDWP debugger
so we might as well have them set by default.
Change-Id: I1a3c45d61c53c20bfb1367c82510e2fe972099d9
Test: Treehugger
Bug: https://github.com/android/ndk/issues/933
diff --git a/runtime/runtime_options.def b/runtime/runtime_options.def
index cda03a9..6aec33c 100644
--- a/runtime/runtime_options.def
+++ b/runtime/runtime_options.def
@@ -44,7 +44,7 @@
RUNTIME_OPTIONS_KEY (std::string, Image)
RUNTIME_OPTIONS_KEY (Unit, CheckJni)
RUNTIME_OPTIONS_KEY (Unit, JniOptsForceCopy)
-RUNTIME_OPTIONS_KEY (std::string, JdwpOptions, "")
+RUNTIME_OPTIONS_KEY (std::string, JdwpOptions, "suspend=n,server=y")
RUNTIME_OPTIONS_KEY (JdwpProvider, JdwpProvider, JdwpProvider::kUnset)
RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximumSize) // -Xmx
RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitialSize) // -Xms