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
This commit is contained in:
Greg Clayton
2010-12-04 00:10:17 +00:00
parent f10af38ba5
commit 85851dde89
9 changed files with 127 additions and 32 deletions

View File

@@ -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)
{