llvm-project/lldb
Johnny Chen 73b4f71125 For UserSettingsController::UpdateDictionaryVariable(), clear the dictionary
if passed in a NULL new_value and the operation intended is eVarSetOperationAssign.
This fixed a bug where in TestSettings.py:

        # Set the run-args and the env-vars.
        self.runCmd('settings set target.process.run-args A B C')
        self.runCmd('settings set target.process.env-vars ["MY_ENV_VAR"]=YES')
        # And add hooks to restore the settings during tearDown().
        self.addTearDownHook(
            lambda: self.runCmd("settings set -r target.process.run-args"))
        self.addTearDownHook(
            lambda: self.runCmd("settings set -r target.process.env-vars"))

"settings set -r target.process.env-vars" was not restoring the original env-vars
setting.

llvm-svn: 116895
2010-10-20 01:03:00 +00:00
..
docs Finish the first draft of a detailed walkthrough of an lldb test method. 2010-10-19 21:46:48 +00:00
examples There's no need to explicitly call lldb.SBDebugger.Initialize() now. It is done 2010-10-15 16:33:17 +00:00
include Don't cache the public stop reason, since it can change as plan completion gets processed. That means GetStopReason needs to return a shared pointer, not a pointer to the thread's cached version. Also allow the thread plans to get and set the thread private stop reason - that is usually more appropriate for the logic the thread plans need to do. 2010-10-20 00:39:53 +00:00
lib Patch from Jay Cornwall that modifies the LLDB "Host" layer to reuse more 2010-09-07 20:11:56 +00:00
lldb.xcodeproj Fixed all known race conditions with starting a process in a new terminal. 2010-10-19 18:15:50 +00:00
resources Bumped versions to lldb-26 and debugserver-114 for a build. 2010-10-08 00:23:57 +00:00
scripts Add header files that were added to lldb.swig to the build 2010-10-18 23:00:51 +00:00
source For UserSettingsController::UpdateDictionaryVariable(), clear the dictionary 2010-10-20 01:03:00 +00:00
test Restoring the original setting should be done more robustly by adding a hook function 2010-10-19 23:40:13 +00:00
tools Fixed all known race conditions with starting a process in a new terminal. 2010-10-19 18:15:50 +00:00
www Clarified some caveats for thread format strings. 2010-10-04 03:06:05 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Comment out test targets; they don't work on Linux because test/Makefile uses 2010-07-09 22:36:15 +00:00