diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 | 
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 | 
| commit | 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch) | |
| tree | c94307da318be46e5aeea1a325c1e91749506e4f /source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
| parent | 03b99097822ca3ac69252d9afae716a584ed56c4 (diff) | |
Notes
Diffstat (limited to 'source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
| -rw-r--r-- | source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 25 | 
1 files changed, 21 insertions, 4 deletions
| diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index 9331775bb896..942b31c84dde 100644 --- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -23,7 +23,9 @@  #include "lldb/Core/Error.h"  #include "lldb/Core/StreamString.h"  #include "lldb/Core/StringList.h" +#include "lldb/Core/StructuredData.h"  #include "lldb/Core/ThreadSafeValue.h" +#include "lldb/lldb-private-forward.h"  #include "lldb/Target/Process.h"  #include "lldb/Target/Thread.h" @@ -113,7 +115,7 @@ public:                                 const lldb_private::ProcessAttachInfo &attach_info);      virtual void -    DidAttach (); +    DidAttach (lldb_private::ArchSpec &process_arch);      //------------------------------------------------------------------      // PluginInterface protocol @@ -221,12 +223,17 @@ public:          return m_gdb_comm;      } +    virtual lldb_private::Error +    SendEventData(const char *data); +      //----------------------------------------------------------------------      // Override SetExitStatus so we can disconnect from the remote GDB server      //----------------------------------------------------------------------      virtual bool      SetExitStatus (int exit_status, const char *cstr); +    void +    SetUserSpecifiedMaxMemoryTransferSize (uint64_t user_specified_max);  protected:      friend class ThreadGDBRemote; @@ -299,6 +306,15 @@ protected:      bool      ParseRegisters(lldb_private::ScriptInterpreterObject *registers_array); +    const lldb::DataBufferSP +    GetAuxvData() override; + +    lldb_private::StructuredData::ObjectSP +    GetExtendedInfoForThread (lldb::tid_t tid); + +    void +    GetMaxMemorySize(); +      //------------------------------------------------------------------      /// Broadcaster event bits definitions.      //------------------------------------------------------------------ @@ -334,14 +350,15 @@ protected:      tid_sig_collection m_continue_C_tids; // 'C' for continue with signal      tid_collection m_continue_s_tids;                  // 's' for step      tid_sig_collection m_continue_S_tids; // 'S' for step with signal -    size_t m_max_memory_size;       // The maximum number of bytes to read/write when reading and writing memory +    uint64_t m_max_memory_size;       // The maximum number of bytes to read/write when reading and writing memory +    uint64_t m_remote_stub_max_memory_size;    // The maximum memory size the remote gdb stub can handle      MMapMap m_addr_to_mmap_size;      lldb::BreakpointSP m_thread_create_bp_sp;      bool m_waiting_for_attach;      bool m_destroy_tried_resuming;      lldb::CommandObjectSP m_command_sp;      int64_t m_breakpoint_pc_offset; -     +      bool      StartAsyncThread (); @@ -368,7 +385,7 @@ protected:      UpdateThreadIDList ();      void -    DidLaunchOrAttach (); +    DidLaunchOrAttach (lldb_private::ArchSpec& process_arch);      lldb_private::Error      ConnectToDebugserver (const char *host_port); | 
