GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/terminal.h File Reference
#include <fcntl.h>
#include <sgtty.h>
#include <sys/ioctl.h>

Go to the source code of this file.

Defines

#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)

Variables

int job_control

Define Documentation

#define TERMINAL   struct sgttyb

Definition at line 74 of file terminal.h.


Function Documentation

void copy_terminal_info ( struct inferior to,
struct inferior from 
)
pid_t create_tty_session ( void  )

Definition at line 813 of file inflow.c.

References _, job_control, safe_strerror(), and warning().

Referenced by fork_inferior().

int gdb_has_a_terminal ( void  )
int gdb_setpgid ( void  )

Definition at line 842 of file inflow.c.

References job_control.

Referenced by fork_inferior().

void initialize_stdin_serial ( void  )

Definition at line 876 of file inflow.c.

References serial_fdopen().

Referenced by gdb_init().

void new_tty ( void  )

Definition at line 685 of file inflow.c.

References _, check_syscall(), O_NOCTTY, safe_strerror(), and warning().

Referenced by fork_inferior().

void new_tty_postfork ( void  )

Definition at line 748 of file inflow.c.

References current_inferior(), get_inflow_inferior_data(), and terminal_info::run_terminal.

Referenced by fork_inferior().

void new_tty_prefork ( const char *  )

Definition at line 662 of file inflow.c.

Referenced by fork_inferior().


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines