Commit a57ab5d4 authored by hjk's avatar hjk

Debugger: Distinguish stdout and stderr in LLDB

At least theoretically, on our side. Practically the output
seems to arrive all with ldb.SBProcess.eBroadcastBitSTDOUT
from LLDB.

Change-Id: I61cfb1e01193c57e06aebeaa8defa11809e24c50
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 53e89916
......@@ -1306,7 +1306,7 @@ class Dumper(DumperBase):
% binascii.hexlify(msg))
elif type == lldb.SBProcess.eBroadcastBitSTDERR:
msg = self.process.GetSTDERR(1024)
self.report('output={channel="stdout",data="%s"}'
self.report('output={channel="stderr",data="%s"}'
% binascii.hexlify(msg))
elif type == lldb.SBProcess.eBroadcastBitProfileData:
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment