diff options
author | Greg Clayton <gclayton@apple.com> | 2013-11-09 00:03:31 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-11-09 00:03:31 +0000 |
commit | b35db6399dd8ab092bd45c10d1a76e10fae2dad7 (patch) | |
tree | 2241777d807b54db63858e7274e253acf1dc2413 /lldb/source/Target/Process.cpp | |
parent | 1b6973fc99e381bf8b8f5036502193b8219f4d5e (diff) | |
download | bcm5719-llvm-b35db6399dd8ab092bd45c10d1a76e10fae2dad7.tar.gz bcm5719-llvm-b35db6399dd8ab092bd45c10d1a76e10fae2dad7.zip |
Fixed the the breakpoint test case failures.
There were 6 on darwin. All of these were related to the recent changes for exec.
llvm-svn: 194298
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r-- | lldb/source/Target/Process.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index c3d1795611b..93edfdba407 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -5644,7 +5644,7 @@ Process::DidExec () { Target &target = GetTarget(); target.CleanupProcess (); - target.ClearModules(); + target.ClearModules(false); m_dynamic_checkers_ap.reset(); m_abi_sp.reset(); m_system_runtime_ap.reset(); @@ -5660,5 +5660,9 @@ Process::DidExec () // Flush the process (threads and all stack frames) after running CompleteAttach() // in case the dynamic loader loaded things in new locations. Flush(); + + // After we figure out what was loaded/unloaded in CompleteAttach, + // we need to let the target know so it can do any cleanup it needs to. + target.DidExec(); } |