[Lldb-commits] [lldb] r185357 - Formatting cleanup.
Jim Ingham
jingham at apple.com
Mon Jul 1 11:49:43 PDT 2013
Author: jingham
Date: Mon Jul 1 13:49:43 2013
New Revision: 185357
URL: http://llvm.org/viewvc/llvm-project?rev=185357&view=rev
Log:
Formatting cleanup.
Modified:
lldb/trunk/source/Core/Module.cpp
Modified: lldb/trunk/source/Core/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Module.cpp?rev=185357&r1=185356&r2=185357&view=diff
==============================================================================
--- lldb/trunk/source/Core/Module.cpp (original)
+++ lldb/trunk/source/Core/Module.cpp Mon Jul 1 13:49:43 2013
@@ -1316,15 +1316,22 @@ Module::LoadScriptingResourceInTarget (T
if (shoud_load == eLoadScriptFromSymFileWarn)
{
if (feedback_stream)
- feedback_stream->Printf("warning: '%s' contains a debug script. To run this script in this debug session:\n\n command script import \"%s\"\n\nTo run all discovered debug scripts in this session:\n\n settings set target.load-script-from-symbol-file true\n"
- ,GetFileSpec().GetFileNameStrippingExtension().GetCString(),scripting_fspec.GetPath().c_str());
+ feedback_stream->Printf("warning: '%s' contains a debug script. To run this script in "
+ "this debug session:\n\n command script import \"%s\"\n\n"
+ "To run all discovered debug scripts in this session:\n\n"
+ " settings set target.load-script-from-symbol-file true\n",
+ GetFileSpec().GetFileNameStrippingExtension().GetCString(),
+ scripting_fspec.GetPath().c_str());
return false;
}
StreamString scripting_stream;
scripting_fspec.Dump(&scripting_stream);
const bool can_reload = true;
const bool init_lldb_globals = false;
- bool did_load = script_interpreter->LoadScriptingModule(scripting_stream.GetData(), can_reload, init_lldb_globals, error);
+ bool did_load = script_interpreter->LoadScriptingModule(scripting_stream.GetData(),
+ can_reload,
+ init_lldb_globals,
+ error);
if (!did_load)
return false;
}
More information about the lldb-commits
mailing list