Lines Matching +full:platform +full:- +full:level
4 .nr rst2man-indent-level 0
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
30 .TH "LLDB-SERVER" "1" "2021-06-07" "12" "LLDB"
32 lldb-server \- LLDB Documentation
35 \fBlldb\-server\fP v[ersion]
36 \fBlldb\-server\fP g[dbserver] [\fIoptions\fP]
37 \fBlldb\-server\fP p[latform] [\fIoptions\fP]
42 \fBlldb\-server\fP provides the server counterpart of the LLVM debugger.
50 The first argument to lldb\-server specifies a command to run.
54 Prints lldb\-server version and exits.
59 Runs the server using the gdb\-remote protocol. LLDB can afterwards
60 connect to the server using \fIgdb\-remote\fP command.
65 Runs the platform server. LLDB can afterwards connect to the server using
66 \fIplatform select\fP, followed by \fIplatform connect\fP\&.
70 \fBlldb\-server\fP g[dbserver] [\fIoptions\fP] [[\fIhost\fP]:\fIport\fP] [[\-\-] \fIprogram\fP \fIa…
79 is zero, a random port will be selected, and written as specified by \-\-pipe
80 or \-\-named\-pipe options.
84 .B \-\-fd <fd>
89 .B \-\-named\-pipe <name>
94 .B \-\-pipe <fd>
99 .B \-\-reverse\-connect
106 .B \-\-help
111 .B \-\-log\-channels <channel1 categories...:channel2 categories...>
112 Channels to log. A colon\-separated list of entries. Each entry starts with
113 a channel followed by a space\-separated list of categories.
117 .B \-\-log\-file <file>
122 .B \-\-setsid
123 Run lldb\-server in a new session.
128 .B \-\-attach <pid\-or\-name>
133 .B \-\- program args
137 If neither of target options are used, \fBlldb\-server\fP is started
140 .SH PLATFORM COMMAND
142 \fBlldb\-server\fP p[latform] [\fIoptions\fP] \-\-server \-\-listen [[\fIhost\fP]:\fIport\fP]
148 .B \-\-server
150 lldb\-server will accept only one connection and exit when it is finished.
154 .B \-\-listen <host>:<port>
160 .B \-\-socket\-file <path>
166 .B \-\-log\-channels <channel1 categories...:channel2 categories...>
167 Channels to log. A colon\-separated list of entries. Each entry starts with
168 a channel followed by a space\-separated list of categories.
172 .B \-\-log\-file <file>
175 .SS GDB\-SERVER CONNECTIONS
178 .B \-\-gdbserver\-port <port>
179 Define a port to be used for gdb\-server connections. Can be specified multiple
180 times to allow multiple ports. Has no effect if \-\-min\-gdbserver\-port
181 and \-\-max\-gdbserver\-port are specified.
185 .B \-\-min\-gdbserver\-port <port>
189 .B \-\-max\-gdbserver\-port <port>
190 Specify the range of ports that can be used for gdb\-server connections. Both
191 options need to be specified simultaneously. Overrides \-\-gdbserver\-port.
195 .B \-\-port\-offset <offset>
207 to the debugged executable, arguments starting with a \- must be passed after
208 \-\-. The server will launch the new executable and stop it immediately, waiting
212 lldb\-server g :1234 /path/to/program program\-argument \-\- \-\-program\-option
216 For convenience, passing the executable after \-\- is also supported.
219 lldb\-server g :1234 \-\- /path/to/program program\-argument \-\-program\-option
223 In order to attach to a running process, pass \-\-attach along with the process
229 lldb\-server g :1234 \-\-attach 12345
230 lldb\-server g :1234 \-\-attach program\-name
234 Use \fIgdb\-remote\fP command to connect to the server:
237 (lldb) gdb\-remote 1234
241 lldb\-server can also be started without an inferior. In this case, the client
243 (e.g. \fItarget create\fP) will disconnect and launch a local lldb\-server instead.
246 lldb\-server g :1234
248 (lldb) gdb\-remote 1234
255 for \fBlldb\-server\fP users.
259 2007-2021, The LLDB Team