Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: runtime/bin/dbg_connection_macos.cc

Issue 11642019: Implement debugger connection on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Enable debugger test on Windows Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/dbg_connection_macos.h ('k') | runtime/bin/dbg_connection_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
+}
« no previous file with comments | « runtime/bin/dbg_connection_macos.h ('k') | runtime/bin/dbg_connection_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698