[lldb-dev] Save old stdou/stderr when starting a python session

Filipe Cabecinhas filcab at gmail.com
Tue Feb 28 07:13:14 PST 2012


Attached is a small python fix to save the current stout and std err when starting a python session, then diverting then (as it was before), and restoring the previous values afterwards. Otherwise, a python script could suddenly find itself without output.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: save-old-stdout-stderr.patch
Type: application/octet-stream
Size: 1936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120228/362918bf/attachment.obj>

More information about the lldb-dev mailing list