When starting a kernel debug session (PlatformDarwinKernel), scan
authorJason Molenda <jmolenda@apple.com>
Thu, 29 Jan 2015 06:20:05 +0000 (06:20 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 29 Jan 2015 06:20:05 +0000 (06:20 +0000)
commit9a435729b4b7d94a8c126f4c186da1a202f05b9a
treefe0f20902e6674b3d8a23ec47b52330bca4ad688
parent8cafefaef223367dbb5e913488c17baafceb9bbf
When starting a kernel debug session (PlatformDarwinKernel), scan
for executable binaries on the local filesystem so the user doesn't
need to provide the path to the correct binary manually.

Also have lldb search for kexts/the kernel in the current working
directory in addition to all the usual places.

<rdar://problem/18126501>

llvm-svn: 227419
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h