[Lldb-commits] [lldb] r184270 - Don't actually Halt in the Interrupt handler for the Process, just send an AsyncInterrupt.

Jim Ingham jingham at apple.com
Tue Jun 18 17:56:17 PDT 2013


Author: jingham
Date: Tue Jun 18 19:56:17 2013
New Revision: 184270

URL: http://llvm.org/viewvc/llvm-project?rev=184270&view=rev
Log:
Don't actually Halt in the Interrupt handler for the Process, just send an AsyncInterrupt.
That's actually not async-signal-clean, but it is a lot safer than Halt...

Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=184270&r1=184269&r2=184270&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Tue Jun 18 19:56:17 2013
@@ -4537,7 +4537,7 @@ Process::ProcessInputReaderCallback (voi
         break;
         
     case eInputReaderInterrupt:
-        process->Halt ();
+        process->SendAsyncInterrupt();
         break;
             
     case eInputReaderEndOfFile:





More information about the lldb-commits mailing list