[Lldb-commits] [PATCH] [LLDB] debugger.GetInputFileHandle() should not close the file
egranata at apple.com
Wed Jan 8 18:33:38 PST 2014
Transmitting file data .
Committed revision 198835.
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...
More information about the lldb-commits