[Lldb-commits] [lldb] [lldb][lldb-server][Darwin] Error when gdbserver mode is requested (PR #199654)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed May 27 02:01:35 PDT 2026


================
@@ -61,9 +61,15 @@ int main(int argc, char *argv[]) {
 
   switch (argv[1][0]) {
   case 'g': {
+#if defined(__APPLE__)
+    fprintf(stderr, "gdbserver mode is not supported on Apple platforms. "
+                    "Use debugserver instead.");
----------------
DavidSpickett wrote:

Need a newline here.

https://github.com/llvm/llvm-project/pull/199654


More information about the lldb-commits mailing list