| Index: runtime/bin/dbg_connection_macos.cc
|
| diff --git a/runtime/bin/dbg_connection_macos.cc b/runtime/bin/dbg_connection_macos.cc
|
| index 8464abf3a3bc263147be9213c9a58c0e0073645b..675e12966610b2eb6252f23556db646b7798602f 100644
|
| --- a/runtime/bin/dbg_connection_macos.cc
|
| +++ b/runtime/bin/dbg_connection_macos.cc
|
| @@ -157,3 +157,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));
|
| +}
|
|
|