|
GDB (xrefs)
|
#include "defs.h"#include "serial.h"#include "ser-base.h"#include "ser-unix.h"#include "gdb_vfork.h"#include <sys/types.h>#include <sys/socket.h>#include <sys/time.h>#include <fcntl.h>#include "filestuff.h"#include <signal.h>Go to the source code of this file.
Classes | |
| struct | pipe_state |
Macros | |
| #define | PIPE_CLOSE_TIMEOUT 5 |
| #define | SIGTERM_TIMEOUT INT_MAX |
Functions | |
| static int | pipe_open (struct serial *scb, const char *name) |
| static void | pipe_close (struct serial *scb) |
| void | _initialize_ser_pipe (void) |
| int | gdb_pipe (int pdes[2]) |
Variables | |
| static const struct serial_ops | pipe_ops |
| #define PIPE_CLOSE_TIMEOUT 5 |
Referenced by pipe_close().
| #define SIGTERM_TIMEOUT INT_MAX |
Referenced by pipe_close().
| void _initialize_ser_pipe | ( | void | ) |
Definition at line 235 of file ser-pipe.c.
References serial_add_interface().
Definition at line 191 of file ser-pipe.c.
References gdb_socketpair_cloexec().
|
static |
Definition at line 149 of file ser-pipe.c.
References serial::error_fd, serial::fd, pipe_state::pid, PIPE_CLOSE_TIMEOUT, SIGTERM_TIMEOUT, serial::state, status, wait_to_die_with_timeout(), and xfree().
Definition at line 49 of file ser-pipe.c.
References close_most_fds(), serial::error_fd, serial::fd, gdb_socketpair_cloexec(), pipe_state::pid, pid, and serial::state.
|
static |
Definition at line 208 of file ser-pipe.c.
1.8.10