The kernel loading code is now isolated in the DynamicLoaderDarwinKernel;
authorJason Molenda <jmolenda@apple.com>
Wed, 3 Oct 2012 01:29:34 +0000 (01:29 +0000)
committerJason Molenda <jmolenda@apple.com>
Wed, 3 Oct 2012 01:29:34 +0000 (01:29 +0000)
commit5e8534efe7d57eec9c2bfb112a9f0d0d01c25db9
tree9fe4e277bb55a4e455f27c20caeafa6384a54a54
parent1dd2afd8762cdfc2da9e0c1d4dd5ee9b580c5634
The kernel loading code is now isolated in the DynamicLoaderDarwinKernel;
remove the duplicates of this code in ProcessGDBRemote and ProcessKDP.
These two Process plugins will hardcode their DynamicLoader name to be
the DynamicLoaderDarwinKernel so the correct DynamicLoader is picked,
and return the kernel load address as the ImageInfosAddress.
<rdar://problem/12417038>

llvm-svn: 165080
lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h