http://llvm.org/bugs/show_bug.cgi?id=15039
Bug #: 15039
Summary: lldb.SBProcess.GetSTDOUT() returns empty string
instead of inferior output
Product: lldb
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
When using the python API to debug an inferior on Linux,
SBProcess.GetSTDOUT(1000) returns an empty string instead of what the
subprocess writes to the stdout stream.
I verified the subprocess is flushing the output both by setting stdout to be
unbuffered, and with an explicit "fflush(stdout)" but LLDB is not exposing this
output via the python API.
To reproduce, remove the @expectedFailureLinux decorator from
TestChangeValueAPI.py and run:
python dotest.py --executable <path-to-lldb> python_api/value/change_value
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev