Changeset View
Changeset View
Standalone View
Standalone View
lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
Show First 20 Lines • Show All 235 Lines • ▼ Show 20 Lines | public: | ||||
void | void | ||||
SetUserSpecifiedMaxMemoryTransferSize (uint64_t user_specified_max); | SetUserSpecifiedMaxMemoryTransferSize (uint64_t user_specified_max); | ||||
bool | bool | ||||
GetModuleSpec(const FileSpec& module_file_spec, | GetModuleSpec(const FileSpec& module_file_spec, | ||||
const ArchSpec& arch, | const ArchSpec& arch, | ||||
ModuleSpec &module_spec) override; | ModuleSpec &module_spec) override; | ||||
// query remote gdbserver for information | virtual size_t | ||||
bool | LoadModules () override; | ||||
GetGDBServerInfo ( ); | |||||
protected: | protected: | ||||
friend class ThreadGDBRemote; | friend class ThreadGDBRemote; | ||||
friend class GDBRemoteCommunicationClient; | friend class GDBRemoteCommunicationClient; | ||||
friend class GDBRemoteRegisterContext; | friend class GDBRemoteRegisterContext; | ||||
class GDBLoadedModuleInfoList; | |||||
//---------------------------------------------------------------------- | //---------------------------------------------------------------------- | ||||
// Accessors | // Accessors | ||||
//---------------------------------------------------------------------- | //---------------------------------------------------------------------- | ||||
bool | bool | ||||
IsRunning ( lldb::StateType state ) | IsRunning ( lldb::StateType state ) | ||||
{ | { | ||||
return state == lldb::eStateRunning || IsStepping(state); | return state == lldb::eStateRunning || IsStepping(state); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | protected: | ||||
const char * | const char * | ||||
GetDispatchQueueNameForThread (lldb::addr_t thread_dispatch_qaddr, | GetDispatchQueueNameForThread (lldb::addr_t thread_dispatch_qaddr, | ||||
std::string &dispatch_queue_name); | std::string &dispatch_queue_name); | ||||
DynamicLoader * | DynamicLoader * | ||||
GetDynamicLoader () override; | 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: | private: | ||||
//------------------------------------------------------------------ | //------------------------------------------------------------------ | ||||
// For ProcessGDBRemote only | // For ProcessGDBRemote only | ||||
//------------------------------------------------------------------ | //------------------------------------------------------------------ | ||||
static bool | static bool | ||||
NewThreadNotifyBreakpointHit (void *baton, | NewThreadNotifyBreakpointHit (void *baton, | ||||
StoppointCallbackContext *context, | StoppointCallbackContext *context, | ||||
lldb::user_id_t break_id, | lldb::user_id_t break_id, | ||||
Show All 10 Lines |