[Lldb-commits] [PATCH] [LLDB] debugger.GetInputFileHandle() should not close the file
Enrico Granata
egranata at apple.com
Wed Jan 8 18:33:38 PST 2014
Checked in:
Sending scripts/Python/python-typemaps.swig
Transmitting file data .
Committed revision 198835.
Enrico Granata
📩 egranata@.com
☎️ 27683
On Dec 31, 2013, at 4:33 PM, Ari Grant <ari.grant at me.com> wrote:
> Open LLDB and run:
> (lldb) script print lldb.debugger.GetInputFileHandle()
>
> This puts the debugger into a catatonic state and all interactions seem
> to enter a black hole. The reason is that executing this commnand
> actually *CLOSES* the input file handle and so all input is dropped on
> the floor. Oof!
>
> The fix is simple: flush a descriptor, instead of closing it, when
> transferring ownership.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140108/4f362e94/attachment.html>
More information about the lldb-commits
mailing list