diff options
author | Greg Clayton <gclayton@apple.com> | 2013-11-05 23:28:00 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-11-05 23:28:00 +0000 |
commit | 095eeaa0250161c3912f07c4c43ddb2a00a91faf (patch) | |
tree | 5750b5eef2aba484d7a513203d7575a89eb999ae /lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp | |
parent | 5ede5cc9ba0293bf0764e83cc264c40920bf1d7d (diff) | |
download | bcm5719-llvm-095eeaa0250161c3912f07c4c43ddb2a00a91faf.tar.gz bcm5719-llvm-095eeaa0250161c3912f07c4c43ddb2a00a91faf.zip |
<rdar://problem/15367122>
Fixed the test case for "test/functionalities/exec/TestExec.py" on Darwin.
The issue was breakpoints were persisting and causing problems. When we exec, we need to clear out the process and target and start fresh with nothing and let the breakpoints populate themselves again. This patch correctly clears out the breakpoints and also flushes the process so that the objects (process/thread/frame) give out valid information.
llvm-svn: 194106
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp')
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp index 8e8314feb7d..4284558c440 100644 --- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp +++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp @@ -370,7 +370,7 @@ DynamicLoaderPOSIXDYLD::RefreshModules() } } loaded_modules.Remove(old_modules); - m_process->GetTarget().ModulesDidUnload(old_modules); + m_process->GetTarget().ModulesDidUnload(old_modules, false); } } |