|
GDB (xrefs)
|
#include "defs.h"#include "gdbsupport/event-loop.h"#include "gdbsupport/gdb_select.h"#include "inferior.h"#include <signal.h>Go to the source code of this file.
Functions | |
| int | gdb_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
| int | gdb_console_fputs (const char *buf, FILE *f) |
| tribool | sharing_input_terminal (int pid) |
| static void | handler_wrapper (int num) |
| c_c_handler_ftype * | install_sigint_handler (c_c_handler_ftype *fn) |
Variables | |
| static c_c_handler_ftype * | current_handler |
| int gdb_console_fputs | ( | const char * | buf, |
| FILE * | f ) |
Definition at line 38 of file posix-hdep.c.
Referenced by stdio_file::puts().
| int gdb_select | ( | int | n, |
| fd_set * | readfds, | ||
| fd_set * | writefds, | ||
| fd_set * | exceptfds, | ||
| struct timeval * | timeout ) |
Definition at line 29 of file posix-hdep.c.
|
static |
Definition at line 66 of file posix-hdep.c.
References current_handler, and handler_wrapper().
Referenced by handler_wrapper(), and install_sigint_handler().
| c_c_handler_ftype * install_sigint_handler | ( | c_c_handler_ftype * | fn | ) |
Definition at line 76 of file posix-hdep.c.
References ctrl_c_handler(), current_handler, current_handler, and handler_wrapper().
Referenced by child_terminal_inferior(), child_terminal_ours_1(), clear_sigint_trap(), gdb_init_signals(), install_ext_sigint_handler(), install_gdb_sigint_handler(), and set_sigint_trap().
| tribool sharing_input_terminal | ( | int | pid | ) |
Definition at line 46 of file posix-hdep.c.
References is_gdb_terminal(), and pid.
|
static |
Definition at line 62 of file posix-hdep.c.
Referenced by handler_wrapper(), and install_sigint_handler().