summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-10-03 01:29:34 +0000
committerJason Molenda <jmolenda@apple.com>2012-10-03 01:29:34 +0000
commit5e8534efe7d57eec9c2bfb112a9f0d0d01c25db9 (patch)
tree9fe4e277bb55a4e455f27c20caeafa6384a54a54 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
parent1dd2afd8762cdfc2da9e0c1d4dd5ee9b580c5634 (diff)
downloadbcm5719-llvm-5e8534efe7d57eec9c2bfb112a9f0d0d01c25db9.tar.gz
bcm5719-llvm-5e8534efe7d57eec9c2bfb112a9f0d0d01c25db9.zip
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
index 4732fc3a3fc..82f840d69ff 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
@@ -295,10 +295,7 @@ protected:
}
void
- RelocateOrLoadKernel (lldb_private::Stream *strm);
-
- void
- LoadKernel (lldb_private::Stream *strm, lldb_private::UUID kernel_uuid, lldb::addr_t kernel_load_addr);
+ CheckForKernel (lldb_private::Stream *strm);
//------------------------------------------------------------------
/// Broadcaster event bits definitions.
@@ -332,6 +329,8 @@ protected:
lldb::BreakpointSP m_thread_create_bp_sp;
bool m_waiting_for_attach;
bool m_destroy_tried_resuming;
+ std::string m_dyld_plugin_name;
+ lldb::addr_t m_kernel_load_addr;
bool
StartAsyncThread ();
@@ -380,6 +379,9 @@ protected:
bool catch_stop_event,
lldb::EventSP &stop_event_sp);
+ lldb_private::DynamicLoader *
+ GetDynamicLoader ();
+
private:
//------------------------------------------------------------------
// For ProcessGDBRemote only
OpenPOWER on IntegriCloud