Using lldb 3.8.0, what enables logging output from the daughter "gdbserver"
process, e.g. with a tree of processes like this:
\_ /bin/bash
\_ ./lldb-server platform --listen *:1234 --log-file test.log
--log-channels lldb all:gdb-remote all
\_ ./lldb-server gdbserver 127.0.0.1:0 --native-reg
Hi,
you can set environment variables when lunching the "platform"
instance to enable logging in the "gdbserver" instance:
LLDB_DEBUGSERVER_LOG_FILE=/path/to/log/file
LLDB_SERVER_LOG_CHANNELS="lldb all:gdb-remote all"
Also, depending on what you are trying to achieve, it may be easier to
run the
https://llvm.org/bugs/show_bug.cgi?id=27416
Bug ID: 27416
Summary: missing global variables
Product: lldb
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P