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/Darwin-Kernel/DynamicLoaderDarwinKernel.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/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp')
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index 1b2a1f6b7bb..3403da43fd5 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -1335,7 +1335,7 @@ DynamicLoaderDarwinKernel::ParseKextSummaries (const Address &kext_summary_addr, // the to_be_removed bool vector; leaving it in place once Cleared() is relatively harmless. } } - m_process->GetTarget().ModulesDidUnload (unloaded_module_list); + m_process->GetTarget().ModulesDidUnload (unloaded_module_list, false); } } |