Index: runtime/bin/dbg_connection.cc |
diff --git a/runtime/bin/dbg_connection.cc b/runtime/bin/dbg_connection.cc |
index 381c5d349d3f9892f28cadc1a1cd64f5e8017bba..4a96eb2a88ed20473aa87f57a6df069cd06fe0d7 100644 |
--- a/runtime/bin/dbg_connection.cc |
+++ b/runtime/bin/dbg_connection.cc |
@@ -294,11 +294,7 @@ void DebuggerConnectionHandler::StartHandler(const char* address, |
// listen, accept connections from debuggers, read and handle/dispatch |
// debugger commands received on these connections. |
ASSERT(listener_fd_ == -1); |
- |
- OSError *os_error; |
- SocketAddresses* addresses = Socket::LookupAddress(address, -1, &os_error); |
- listener_fd_ = ServerSocket::CreateBindListen( |
- addresses->GetAt(0)->addr(), port_number, 1); |
+ listener_fd_ = ServerSocket::CreateBindListen(address, port_number, 1); |
DebuggerConnectionImpl::StartHandler(port_number); |
} |