[llvm-branch-commits] [lldb] r198824 - Make sure we execute the commands after the "file" command in the driver.

Greg Clayton gclayton at apple.com
Wed Jan 8 17:07:52 PST 2014


Author: gclayton
Date: Wed Jan  8 19:07:52 2014
New Revision: 198824

URL: http://llvm.org/viewvc/llvm-project?rev=198824&view=rev
Log:
Make sure we execute the commands after the "file" command in the driver.


Modified:
    lldb/branches/iohandler/tools/driver/Driver.cpp

Modified: lldb/branches/iohandler/tools/driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/iohandler/tools/driver/Driver.cpp?rev=198824&r1=198823&r2=198824&view=diff
==============================================================================
--- lldb/branches/iohandler/tools/driver/Driver.cpp (original)
+++ lldb/branches/iohandler/tools/driver/Driver.cpp Wed Jan  8 19:07:52 2014
@@ -930,6 +930,8 @@ Driver::MainLoop ()
         m_debugger.HandleCommand (command_string);;
     }
 
+    ExecuteInitialCommands(false);
+
     // Now that all option parsing is done, we try and parse the .lldbinit
     // file in the current working directory
     sb_interpreter.SourceInitFileInCurrentWorkingDirectory (result);





More information about the llvm-branch-commits mailing list