summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-01-29 01:17:09 +0000
committerGreg Clayton <gclayton@apple.com>2013-01-29 01:17:09 +0000
commit3c94737fb71acdc3dc91255d11c3ccba496aba8a (patch)
tree9d5a56b4f80ca9b66d32a1a5d1caac921eb3eb0f /lldb/source/Commands
parent5c1f1d09c87a1aad95973c8c8ffa2733329b397e (diff)
downloadbcm5719-llvm-3c94737fb71acdc3dc91255d11c3ccba496aba8a.tar.gz
bcm5719-llvm-3c94737fb71acdc3dc91255d11c3ccba496aba8a.zip
<rdar://problem/12524607>
Flush the process when symbols are loaded/unloaded manually. This was going on in: - "target modules load" command - SBTarget::SetSectionLoadAddress(...) - SBTarget::ClearSectionLoadAddress(...) - SBTarget::SetModuleLoadAddress(...) - SBTarget::ClearModuleLoadAddress(...) llvm-svn: 173745
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index 55168ca0cae..64d2684a51e 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -2915,7 +2915,12 @@ protected:
}
if (changed)
+ {
target->ModulesDidLoad (matching_modules);
+ Process *process = m_exe_ctx.GetProcessPtr();
+ if (process)
+ process->Flush();
+ }
}
else
{
@@ -4171,7 +4176,6 @@ public:
{
LoadSubCommand ("add", CommandObjectSP (new CommandObjectTargetModulesAdd (interpreter)));
LoadSubCommand ("load", CommandObjectSP (new CommandObjectTargetModulesLoad (interpreter)));
- //LoadSubCommand ("unload", CommandObjectSP (new CommandObjectTargetModulesUnload (interpreter)));
LoadSubCommand ("dump", CommandObjectSP (new CommandObjectTargetModulesDump (interpreter)));
LoadSubCommand ("list", CommandObjectSP (new CommandObjectTargetModulesList (interpreter)));
LoadSubCommand ("lookup", CommandObjectSP (new CommandObjectTargetModulesLookup (interpreter)));
OpenPOWER on IntegriCloud