diff options
author | Jason Molenda <jmolenda@apple.com> | 2013-04-05 02:59:09 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2013-04-05 02:59:09 +0000 |
commit | 8c1157ccc4ad740169f9092e187f88cdc76bd27f (patch) | |
tree | d3a10c543d0fb6e7d26dc07168178e5dbeb2fb1d /lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | |
parent | 87a029094182ac303b8fedb9a839b10dff12249e (diff) | |
download | bcm5719-llvm-8c1157ccc4ad740169f9092e187f88cdc76bd27f.tar.gz bcm5719-llvm-8c1157ccc4ad740169f9092e187f88cdc76bd27f.zip |
Change CommandObjectPlatform commands to get the current platform
from the current Target, if there is one, else back off to getting
the currently selected platform from the Debugger (as it ws doing
previously.)
Remove code from DynamicLoaderDarwinKernel that was setting the platform
in both the Target and in the Debugger.
llvm-svn: 178836
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp')
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index cef06b52694..1160686e8ee 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -464,7 +464,6 @@ DynamicLoaderDarwinKernel::DynamicLoaderDarwinKernel (Process* process, lldb::ad if (platform_sp.get() && GetGlobalProperties()->GetLoadKexts()) { process->GetTarget().SetPlatform (platform_sp); - process->GetTarget().GetDebugger().GetPlatformList().SetSelectedPlatform (platform_sp); } } |