[Lldb-commits] [lldb] r208338 - Set the current line to invalid when done getting multiple lines.

Greg Clayton gclayton at apple.com
Thu May 8 10:06:33 PDT 2014


Author: gclayton
Date: Thu May  8 12:06:33 2014
New Revision: 208338

URL: http://llvm.org/viewvc/llvm-project?rev=208338&view=rev
Log:
Set the current line to invalid when done getting multiple lines.


Modified:
    lldb/trunk/source/Core/IOHandler.cpp

Modified: lldb/trunk/source/Core/IOHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/IOHandler.cpp?rev=208338&r1=208337&r2=208338&view=diff
==============================================================================
--- lldb/trunk/source/Core/IOHandler.cpp (original)
+++ lldb/trunk/source/Core/IOHandler.cpp Thu May  8 12:06:33 2014
@@ -560,6 +560,7 @@ IOHandlerEditline::GetLines (StringList
                 lines_status = LineStatus::Done;
             }
         }
+        m_curr_line_idx = UINT32_MAX;
         
         // Call the IOHandlerLinesUpdated function with UINT32_MAX as the line
         // number to indicate all lines are complete





More information about the lldb-commits mailing list