Lines Matching +full:host +full:- +full:port
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.
70 \fBlldb\-server\fP g[dbserver] [\fIoptions\fP] [[\fIhost\fP]:\fIport\fP] [[\-\-] \fIprogram\fP \fIa…
76 .B host:port
77 Specifies the hostname and TCP port to listen on. Obligatory unless another
78 listening option is used. If host is empty, \fIlocalhost\fP will be used. If port
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>
90 Write the listening port number to the specified named pipe.
94 .B \-\-pipe <fd>
95 Write the listening port number to the specified pipe (fd).
99 .B \-\-reverse\-connect
101 case, [host]:port denotes the remote address to connect to.
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
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>
155 Hostname and port to listen on. Obligatory. If \fIport\fP is zero, a random port
160 .B \-\-socket\-file <path>
161 Write the listening socket port number to the specified file.
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>
196 Add the specified offset to port numbers returned by server. This is useful
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