Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ LOGFILE_MISSING: error: --log-file: missing argument
RUN: %platformserver --log-channels 2>&1 | FileCheck --check-prefixes=LOGCHANNELS_MISSING,ALL %s
LOGCHANNELS_MISSING: error: --log-channels: missing argument

ALL: Use 'lldb-server {{p|platform}} --help' for a complete list of options.
ALL: Use 'lldb-server{{(\.exe)?}} {{p|platform}} --help' for a complete list of options.
10 changes: 5 additions & 5 deletions lldb/test/Shell/lldb-server/TestPlatformHelp.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ RUN: %lldb-server p -h 2>&1 | FileCheck %s
RUN: %lldb-server platform --help 2>&1 | FileCheck %s
RUN: %lldb-server platform -h 2>&1 | FileCheck %s

CHECK: OVERVIEW: lldb-server platform
CHECK: OVERVIEW: lldb-server{{(\.exe)?}} platform

CHECK: USAGE: lldb-server {{p|platform}} [options] --listen <[host]:port> {{\[}}[--] program args...]
CHECK: USAGE: lldb-server{{(\.exe)?}} {{p|platform}} [options] --listen <[host]:port> {{\[}}[--] program args...]

CHECK: CONNECTION OPTIONS:
CHECK: --gdbserver-port <port>
Expand All @@ -33,8 +33,8 @@ CHECK: Acts as a platform server for remote debugging

CHECK: EXAMPLES
CHECK: # Listen on port 1234, exit after first connection
CHECK: lldb-server platform --listen tcp://0.0.0.0:1234
CHECK: lldb-server{{(\.exe)?}} platform --listen tcp://0.0.0.0:1234
CHECK: # Listen on port 5555, accept multiple connections
CHECK: lldb-server platform --server --listen tcp://localhost:5555
CHECK: lldb-server{{(\.exe)?}} platform --server --listen tcp://localhost:5555
CHECK: # Listen on Unix domain socket
CHECK: lldb-server platform --listen unix:///tmp/lldb-server.sock
CHECK: lldb-server{{(\.exe)?}} platform --listen unix:///tmp/lldb-server.sock
Loading