diff options
author | Aidan Dodds <aidan@codeplay.com> | 2015-05-08 09:36:31 +0000 |
---|---|---|
committer | Aidan Dodds <aidan@codeplay.com> | 2015-05-08 09:36:31 +0000 |
commit | c0c838516d9d89330c6498c983b770a7e4ea1e1b (patch) | |
tree | 315d5f18ddd29d9e6a937b94e94f8f67101f7179 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | 3a6cc51cb90cba16c4485412b71964c89dcb8cd4 (diff) | |
download | llvm-c0c838516d9d89330c6498c983b770a7e4ea1e1b.zip llvm-c0c838516d9d89330c6498c983b770a7e4ea1e1b.tar.gz llvm-c0c838516d9d89330c6498c983b770a7e4ea1e1b.tar.bz2 |
This patch allows LLDB to use the $qXfer:Libraries: packet.
Differential Revision: http://reviews.llvm.org/D9471
llvm-svn: 236817
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index ff47101..a199bf0 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -241,15 +241,16 @@ public: const ArchSpec& arch, ModuleSpec &module_spec) override; - // query remote gdbserver for information - bool - GetGDBServerInfo ( ); + virtual size_t + LoadModules () override; protected: friend class ThreadGDBRemote; friend class GDBRemoteCommunicationClient; friend class GDBRemoteRegisterContext; + class GDBLoadedModuleInfoList; + //---------------------------------------------------------------------- // Accessors //---------------------------------------------------------------------- @@ -396,6 +397,17 @@ protected: DynamicLoader * GetDynamicLoader () override; + // Query remote GDBServer for register information + bool + GetGDBServerRegisterInfo (); + + // Query remote GDBServer for a detailed loaded library list + Error + GetLoadedModuleList (GDBLoadedModuleInfoList &); + + lldb::ModuleSP + LoadModuleAtAddress (const FileSpec &file, lldb::addr_t base_addr); + private: //------------------------------------------------------------------ // For ProcessGDBRemote only |