[lldb-dev] [Bug 15039] New: lldb.SBProcess.GetSTDOUT() returns empty string instead of inferior output
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 22 07:14:09 PST 2013
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: lldb-dev at cs.uiuc.edu
ReportedBy: daniel.malea at intel.com
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.
More information about the lldb-dev
mailing list