Home
last modified time | relevance | path

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

/openbmc/qemu/gdbstub/
H A Duser.c298 static bool gdb_accept_socket(int gdb_fd) in gdb_accept_socket() argument
303 fd = accept(gdb_fd, NULL, NULL); in gdb_accept_socket()
346 static bool gdb_accept_tcp(int gdb_fd) in gdb_accept_tcp() argument
354 fd = accept(gdb_fd, (struct sockaddr *)&sockaddr, &len); in gdb_accept_tcp()
411 int gdb_fd; in gdbserver_start() local
414 gdb_fd = gdbserver_open_port(port); in gdbserver_start()
416 gdb_fd = gdbserver_open_socket(port_or_path); in gdbserver_start()
419 if (gdb_fd < 0) { in gdbserver_start()
423 if (port > 0 && gdb_accept_tcp(gdb_fd)) { in gdbserver_start()
425 } else if (gdb_accept_socket(gdb_fd)) { in gdbserver_start()
[all …]