[Lldb-commits] [lldb] r116948 - /lldb/trunk/source/Commands/CommandObjectCommands.cpp
Johnny Chen
johnny.chen at apple.com
Wed Oct 20 14:40:50 PDT 2010
Author: johnny
Date: Wed Oct 20 16:40:50 2010
New Revision: 116948
URL: http://llvm.org/viewvc/llvm-project?rev=116948&view=rev
Log:
Fixed a crasher. The cmd_file needs to be resolved before reading lines from it.
Modified:
lldb/trunk/source/Commands/CommandObjectCommands.cpp
Modified: lldb/trunk/source/Commands/CommandObjectCommands.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectCommands.cpp?rev=116948&r1=116947&r2=116948&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectCommands.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectCommands.cpp Wed Oct 20 16:40:50 2010
@@ -70,7 +70,7 @@
result.AppendMessageWithFormat ("Executing commands in '%s'.\n", filename);
- FileSpec cmd_file (filename, false);
+ FileSpec cmd_file (filename, true);
if (cmd_file.Exists())
{
STLStringArray commands;
More information about the lldb-commits
mailing list