[lldb-dev] Refactor dotest/debugserver env variables for simplicity

Vince Harron vince at nethacker.com
Mon May 4 21:09:15 PDT 2015


I'm starting to think that

export LLDB_LOG=/tmp/basename

isn't even necessary.  Just use the test session dir.



On Mon, May 4, 2015 at 5:23 PM, Vince Harron <vince at nethacker.com> wrote:

> Also, currently, it isn't possible to get meaningful logs from dosep.py
> because the different dotest invocations stomp on each other.  I'm planning
> on using this change to make it easier to direct the various log files into
> test specific log files.
>
>
> On Mon, May 4, 2015 at 2:51 PM, Vince Harron <vharron at google.com> wrote:
>
>> Hi Greg/all,
>>
>> Currently, I have to define a lot of different environment variables to
>> get all of the logs I typically need/want.  Are you okay with the proposed
>> change?
>>
>> CURRENT WAY
>>
>> dotest.py
>> export LLDB_LOG=/tmp/basename-lldb.log
>> export LLDB_LOG_OPTION=all
>> export GDB_REMOTE_LOG=/tmp/basename-gdb-remote.log
>> export GDB_REMOTE_LOG_OPTION=all
>>
>> debugserver
>> export LLDB_DEBUGSERVER_LOG_FILE=/tmp/basename-lldb-server-gdb-remote.log
>> export LLDB_DEBUGSERVER_LOG_FLAGS=all
>> export LLDB_DEBUGSERVER_EXTRA_ARG_1="-c"
>> export LLDB_DEBUGSERVER_EXTRA_ARG_2="log enable -Tpn -f
>> /tmp/basename-lldb-server-lldb.log lldb all"
>>
>> PROPOSED WAY (generates all of the files shown above)
>>
>> export LLDB_LOG=/tmp/basename
>> export LLDB_LOG_OPTION="lldb all;gdb-remote all"
>>
>> This will also help us break the dependency between lldb-sever and the
>> command line interpreter.
>>
>> --
>>
>> Vince Harron | Technical Lead Manager | vharron at google.com | 858-442-0868
>>
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150504/2e7e2d1f/attachment.html>


More information about the lldb-dev mailing list