Added support for some new environment variables within LLDB to enable some
extra launch options: LLDB_LAUNCH_FLAG_DISABLE_ASLR disables ASLR for all launched processes LLDB_LAUNCH_FLAG_DISABLE_STDIO will disable STDIO (reroute to "/dev/null") for all launched processes LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY will force all launched processes to be launched in new terminal windows. Also, don't init python if we never create a script interpreter. llvm-svn: 124341
This commit is contained in:
@@ -224,6 +224,14 @@ ScriptInterpreterPython::ScriptInterpreterPython (CommandInterpreter &interprete
|
||||
m_valid_session (true)
|
||||
{
|
||||
|
||||
static int g_initialized = false;
|
||||
|
||||
if (!g_initialized)
|
||||
{
|
||||
g_initialized = true;
|
||||
ScriptInterpreterPython::Initialize ();
|
||||
}
|
||||
|
||||
bool safe_to_run = false;
|
||||
bool need_to_release_lock = true;
|
||||
int interval = 5; // Number of seconds to try getting the Python lock before timing out.
|
||||
|
||||
Reference in New Issue
Block a user