[Lldb-commits] [lldb] [lldb][lldb-vscode] Add example configuration for connecting to a remote gdbserver (PR #68866)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 12 10:11:56 PDT 2023


================
@@ -212,6 +212,21 @@ This loads the coredump file `/cores/123.core` associated with the program
 }
 ```
 
+### Connect to a Remote Debug Server
+
+This connects to a debug server (e.g. `lldb-server`, `gdbserver`) that is
+debugging the program `/tmp/a.out` and listening locally on port `2345`.
+
+```javascript
+{
+  "name": "Remote Debug Server",
----------------
clayborg wrote:

We could also add two entries into this:
```
### Connect to a GDB server on current machine
...
### Connect to a remote GDB server on another machine
```

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


More information about the lldb-commits mailing list