diff options
author | Greg Clayton <gclayton@apple.com> | 2010-12-04 00:10:17 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-12-04 00:10:17 +0000 |
commit | 85851dde89e9785fb7e55bc27b07fab626ede168 (patch) | |
tree | 2d999b59b2d117eb048751a551705c043fd791a3 /lldb/source/Target/Thread.cpp | |
parent | f10af38ba59a58e5d682456405db19e408eb2866 (diff) | |
download | bcm5719-llvm-85851dde89e9785fb7e55bc27b07fab626ede168.tar.gz bcm5719-llvm-85851dde89e9785fb7e55bc27b07fab626ede168.zip |
Added the ability for a process to inherit the current host environment. This
was done as an settings variable in the process for now. We will eventually
move all environment stuff over to the target, but we will leave it with the
process for now. The default setting is for a process to inherit the host
environment. This can be disabled by setting the "inherit-env" setting to
false in the process.
llvm-svn: 120862
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 0db16fe2ae6..ed747646209 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -1045,7 +1045,7 @@ Thread::SettingsController::CreateInstanceSettings (const char *instance_name) //-------------------------------------------------------------- ThreadInstanceSettings::ThreadInstanceSettings (UserSettingsController &owner, bool live_instance, const char *name) : - InstanceSettings (owner, (name == NULL ? InstanceSettings::InvalidName().AsCString() : name), live_instance), + InstanceSettings (owner, name ? name : InstanceSettings::InvalidName().AsCString(), live_instance), m_avoid_regexp_ap (), m_trace_enabled (false) { |