Make logs threadsafe (add the -t option) when logging API stuff.

llvm-svn: 126257
This commit is contained in:
Greg Clayton 2011-02-22 22:59:30 +00:00
parent fc7222bfc4
commit 76b436e21d
1 changed files with 2 additions and 2 deletions

View File

@ -629,7 +629,7 @@ def lldbLoggings():
else:
lldb_log_option = "event process expr state api"
ci.HandleCommand(
"log enable -T -n -f " + os.environ["LLDB_LOG"] + " lldb " + lldb_log_option,
"log enable -t -T -n -f " + os.environ["LLDB_LOG"] + " lldb " + lldb_log_option,
res)
if not res.Succeeded():
raise Exception('log enable failed (check LLDB_LOG env variable.')
@ -641,7 +641,7 @@ def lldbLoggings():
else:
gdb_remote_log_option = "packets process"
ci.HandleCommand(
"log enable -T -n -f " + os.environ["GDB_REMOTE_LOG"] + " process.gdb-remote "
"log enable -t -T -n -f " + os.environ["GDB_REMOTE_LOG"] + " process.gdb-remote "
+ gdb_remote_log_option,
res)
if not res.Succeeded():