Home
last modified time | relevance | path

Searched refs:gdb_fd (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/gdbstub/
H A Duser.c209 static bool gdb_accept_socket(int gdb_fd) in gdb_accept_socket() argument
214 fd = accept(gdb_fd, NULL, NULL); in gdb_accept_socket()
257 static bool gdb_accept_tcp(int gdb_fd) in gdb_accept_tcp() argument
265 fd = accept(gdb_fd, (struct sockaddr *)&sockaddr, &len); in gdb_accept_tcp()
322 int gdb_fd; in gdbserver_start() local
325 gdb_fd = gdbserver_open_port(port); in gdbserver_start()
327 gdb_fd = gdbserver_open_socket(port_or_path); in gdbserver_start()
330 if (gdb_fd < 0) { in gdbserver_start()
334 if (port > 0 && gdb_accept_tcp(gdb_fd)) { in gdbserver_start()
336 } else if (gdb_accept_socket(gdb_fd)) { in gdbserver_start()
[all …]