@@ -36,13 +36,13 @@ Remote system
36
36
*************
37
37
38
38
On Linux and Android, all required remote functionality is contained in the
39
- lldb-server binary. This binary combines the functionality of the platform and
39
+ `` lldb-server binary `` . This binary combines the functionality of the platform and
40
40
gdb-remote stub. A single binary facilitates deployment and reduces code size,
41
- since the two functions share a lot of code. The lldb-server binary is also
42
- statically linked with the rest of LLDB (unlike lldb, which dynamically links
43
- to liblldb.so by default), so it does not have any dependencies on the rest of
41
+ since the two functions share a lot of code. The `` lldb-server `` binary is also
42
+ statically linked with the rest of LLDB (unlike `` lldb `` , which dynamically links
43
+ to `` liblldb.so `` by default), so it does not have any dependencies on the rest of
44
44
lldb. On macOS and iOS, the remote-gdb functionality is implemented by the
45
- debugserver binary, which you will need to deploy alongside lldb-server.
45
+ `` debugserver `` binary, which you will need to deploy alongside `` lldb-server `` .
46
46
47
47
The binaries mentioned above need to be present on the remote system to enable
48
48
remote debugging. You can either compile on the remote system directly or copy
@@ -51,17 +51,17 @@ differs from the local one, you will need to cross-compile the correct version
51
51
of the binaries. More information on cross-compiling LLDB can be found on the
52
52
build page.
53
53
54
- Once the binaries are in place, you just need to run the lldb-server in
55
- platform mode and specify the port it should listen on. For example, the
54
+ Once the binaries are in place, you just need to run the `` lldb-server `` in
55
+ `` platform `` mode and specify the port it should listen on. For example, the
56
56
command
57
57
58
58
::
59
59
60
60
remote% lldb-server platform --listen "*:1234" --server
61
61
62
62
will start the LLDB platform and wait for incoming connections from any address
63
- to port 1234. Specifying an address instead of * will only allow connections
64
- originating from that address. Adding a --server parameter to the command line
63
+ to port `` 1234 `` . Specifying an address instead of `` * `` will only allow connections
64
+ originating from that address. Adding a `` --server `` parameter to the command line
65
65
will fork off a new process for every incoming connection, allowing multiple
66
66
parallel debug sessions.
67
67
0 commit comments