[lldb-dev] Enabling logging from the host gdbserver

Tyro Software via lldb-dev lldb-dev at lists.llvm.org
Mon Apr 18 02:56:07 PDT 2016


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-regs --pipe 7
        \_ ./simple_x86

generated by these lldb commands:

(lldb) platform select remote-linux
(lldb) platform connect connect://localhost:1234
(lldb) target create simple_x86
(lldb) process launch -s

what I want to see is the lldb and gdb-remote logging from the "gdbserver"
host but only the "platform" process output is written to the "test.log"
file.

How can I enable logging for the daughter "gdbserver"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160418/189d733d/attachment.html>


More information about the lldb-dev mailing list