GDB (xrefs)
|
#include <termios.h>
#include <fcntl.h>
#include <sgtty.h>
#include <sys/ioctl.h>
Go to the source code of this file.
Macros | |
#define | TERMINAL struct sgttyb |
Functions | |
void | new_tty_prefork (const char *) |
void | new_tty (void) |
void | new_tty_postfork (void) |
void | copy_terminal_info (struct inferior *to, struct inferior *from) |
pid_t | create_tty_session (void) |
int | gdb_setpgid (void) |
void | initialize_stdin_serial (void) |
int | gdb_has_a_terminal (void) |
void | gdb_save_tty_state (void) |
void | set_initial_gdb_ttystate (void) |
Variables | |
int | job_control |
#define TERMINAL struct sgttyb |
Definition at line 74 of file terminal.h.
Definition at line 556 of file inflow.c.
References get_inflow_inferior_data(), terminal_info::run_terminal, serial_copy_tty_state(), terminal_info::ttystate, and xfree().
Referenced by follow_fork_inferior().
pid_t create_tty_session | ( | void | ) |
Definition at line 828 of file inflow.c.
References _, inferior_thisrun_terminal, job_control, safe_strerror(), and warning().
Referenced by fork_inferior().
int gdb_has_a_terminal | ( | void | ) |
Definition at line 173 of file inflow.c.
References AUTO_BOOLEAN_AUTO, AUTO_BOOLEAN_TRUE, gdb_getpgrp(), gdb_has_a_terminal_flag, have_not_checked, interactive_mode, no, our_terminal_info, terminal_info::process_group, serial_get_tty_state(), terminal_info::tflags, terminal_info::ttystate, and yes.
Referenced by child_terminal_inferior(), child_terminal_info(), child_terminal_init_with_pgrp(), child_terminal_ours_1(), gdb_save_tty_state(), input_from_terminal_p(), and show_interactive_mode().
void gdb_save_tty_state | ( | void | ) |
Definition at line 256 of file inflow.c.
References gdb_has_a_terminal(), our_terminal_info, serial_get_tty_state(), terminal_info::ttystate, and xfree().
Referenced by tui_disable(), and tui_enable().
int gdb_setpgid | ( | void | ) |
void initialize_stdin_serial | ( | void | ) |
void new_tty | ( | void | ) |
Definition at line 700 of file inflow.c.
References _, check_syscall(), inferior_thisrun_terminal, O_NOCTTY, safe_strerror(), and warning().
Referenced by fork_inferior().
void new_tty_postfork | ( | void | ) |
Definition at line 763 of file inflow.c.
References current_inferior(), get_inflow_inferior_data(), inferior_thisrun_terminal, and terminal_info::run_terminal.
Referenced by fork_inferior().
void new_tty_prefork | ( | const char * | ) |
Definition at line 677 of file inflow.c.
References inferior_thisrun_terminal.
Referenced by fork_inferior().
void set_initial_gdb_ttystate | ( | void | ) |
Definition at line 166 of file inflow.c.
References initial_gdb_ttystate, and serial_get_tty_state().
Referenced by gdb_init().
int job_control |