[Lldb-commits] [lldb] r120863 - /lldb/trunk/source/Target/Process.cpp

Greg Clayton gclayton at apple.com
Fri Dec 3 16:12:24 PST 2010


Author: gclayton
Date: Fri Dec  3 18:12:24 2010
New Revision: 120863

URL: http://llvm.org/viewvc/llvm-project?rev=120863&view=rev
Log:
Added the ability to display the new "target.process.inherit-env" setting.


Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=120863&r1=120862&r2=120863&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Fri Dec  3 18:12:24 2010
@@ -2814,6 +2814,13 @@
     {
         value.AppendString (UserSettingsController::EnumToString (entry.enum_values, (int) m_plugin));
     }
+    else if (var_name == InheritHostEnvVarName())
+    {
+        if (m_inherit_host_env)
+            value.AppendString ("true");
+        else
+            value.AppendString ("false");
+    }
     else if (var_name == DisableASLRVarName())
     {
         if (m_disable_aslr)





More information about the lldb-commits mailing list