| Index: runtime/bin/dbg_connection_linux.cc
|
| diff --git a/runtime/bin/dbg_connection_linux.cc b/runtime/bin/dbg_connection_linux.cc
|
| index a0bce37c0fafea4ae55fa4d4533373e57d477852..ce255598f786a5783124b54d4f7d041393b5cba4 100644
|
| --- a/runtime/bin/dbg_connection_linux.cc
|
| +++ b/runtime/bin/dbg_connection_linux.cc
|
| @@ -103,3 +103,15 @@ void DebuggerConnectionImpl::StartHandler(int port_number) {
|
| FATAL1("Failed to start debugger connection handler thread: %d\n", result);
|
| }
|
| }
|
| +
|
| +
|
| +intptr_t DebuggerConnectionImpl::Send(intptr_t socket,
|
| + const char* buf,
|
| + int len) {
|
| + return TEMP_FAILURE_RETRY(write(socket, buf, len));
|
| +}
|
| +
|
| +
|
| +intptr_t DebuggerConnectionImpl::Receive(intptr_t socket, char* buf, int len) {
|
| + return TEMP_FAILURE_RETRY(read(socket, buf, len));
|
| +}
|
|
|