diff options
author | Greg Clayton <gclayton@apple.com> | 2013-11-22 18:53:12 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-11-22 18:53:12 +0000 |
commit | 2b98c569966e29bb3335773bc620a175b1d620c8 (patch) | |
tree | 27085f69349eb45b9ece63e1fb97cb231466650d /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h | |
parent | 3bd19fb07deefbe7d83f54162559217c64da117f (diff) | |
download | bcm5719-llvm-2b98c569966e29bb3335773bc620a175b1d620c8.tar.gz bcm5719-llvm-2b98c569966e29bb3335773bc620a175b1d620c8.zip |
Fixed functions to always reply to packets and added a port offset.
Fixed a bunch of issues with many functions that were added for the platform host IO calls where they might not reply to the packet if the packet was malformed.
Cleaned up error codes.
Added a port offset to allow for connections across a USB mux.
llvm-svn: 195485
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h index 3138f9c24d7..721ea5012b3 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h @@ -132,6 +132,12 @@ public: return false; } + void + SetPortOffset (uint16_t port_offset) + { + m_port_offset = port_offset; + } + protected: lldb::thread_t m_async_thread; lldb_private::ProcessLaunchInfo m_process_launch_info; @@ -141,6 +147,7 @@ protected: lldb_private::ProcessInstanceInfoList m_proc_infos; uint32_t m_proc_infos_index; PortMap m_port_map; + uint16_t m_port_offset; size_t |