Searched refs:listen_gdb (Results 1 – 1 of 1) sorted by relevance
477 int listen_gdb = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in wait_for_gdb_connect() local480 if (-1 == listen_gdb) { in wait_for_gdb_connect()490 if (-1 == bind(listen_gdb,(struct sockaddr *)&addr, sizeof(addr))) { in wait_for_gdb_connect()495 if (-1 == listen(listen_gdb, 1)) { in wait_for_gdb_connect()499 gdb_connect = accept(listen_gdb, NULL, NULL); in wait_for_gdb_connect()505 close(listen_gdb); in wait_for_gdb_connect()