[Lldb-commits] [lldb] r262914 - This is actually a FileSpec, so use .GetCString() instead
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 7 21:59:47 PST 2016
Author: enrico
Date: Mon Mar 7 23:59:47 2016
New Revision: 262914
URL: http://llvm.org/viewvc/llvm-project?rev=262914&view=rev
Log:
This is actually a FileSpec, so use .GetCString() instead
Modified:
lldb/trunk/source/Interpreter/CommandInterpreter.cpp
Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=262914&r1=262913&r2=262914&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Mon Mar 7 23:59:47 2016
@@ -461,7 +461,7 @@ CommandInterpreter::Initialize ()
AddAlias ("run", cmd_obj_sp, "--shell-expand-args true --");
#else
StreamString defaultshell;
- defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().c_str());
+ defaultshell.Printf("--shell=%s --", HostInfo::GetDefaultShell().GetPath().GetCString());
AddAlias ("r", cmd_obj_sp, defaultshell.GetData());
AddAlias ("run", cmd_obj_sp, defaultshell.GetData());
#endif
More information about the lldb-commits
mailing list