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

Unified Diff: runtime/bin/dbg_connection_linux.h

Issue 10572028: Implement the linux debugger wire protocol. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months 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 | « no previous file | runtime/bin/dbg_connection_linux.cc » ('j') | runtime/bin/dbg_connection_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection_linux.h
===================================================================
--- runtime/bin/dbg_connection_linux.h (revision 8867)
+++ runtime/bin/dbg_connection_linux.h (working copy)
@@ -5,6 +5,7 @@
#ifndef BIN_DBG_CONNECTION_LINUX_H_
#define BIN_DBG_CONNECTION_LINUX_H_
siva 2012/06/20 00:53:31 extra blank line?
hausner 2012/06/20 16:05:58 Done.
+
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
@@ -13,6 +14,17 @@
class DebuggerConnectionImpl {
public:
static void StartHandler(int port_number);
+
+ private:
+ static void SetupPollQueue();
+ static void HandleEvent(struct epoll_event* event);
+ static void Handler(uword args);
+
+ // File descriptors for pipes used to communicate with the debugger thread.
+ static int wakeup_fds_[2];
+
+ // File descriptor for the polling queue.
+ static int epoll_fd_;
};
#endif // BIN_DBG_CONNECTION_LINUX_H_
« no previous file with comments | « no previous file | runtime/bin/dbg_connection_linux.cc » ('j') | runtime/bin/dbg_connection_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698