Index: source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h =================================================================== --- source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h +++ source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h @@ -33,6 +33,13 @@ lldb_private::Error DisconnectRemote () override; + uint64_t + WriteFile (lldb::user_id_t fd, + uint64_t offset, + const void* data, + uint64_t len, + lldb_private::Error &error) override; + protected: std::map> m_port_forwards; Index: source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp =================================================================== --- source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp +++ source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp @@ -222,3 +222,14 @@ return PlatformRemoteGDBServer::DisconnectRemote (); } + +uint64_t +PlatformAndroidRemoteGDBServer::WriteFile (lldb::user_id_t fd, + uint64_t offset, + const void* src, + uint64_t src_len, + Error &error) +{ + GDBRemoteCommunication::ScopedTimeout timeout (m_gdb_client, 5); + return PlatformRemoteGDBServer::WriteFile (fd, offset, src, src_len, error); +}