GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/inflow.c File Reference
#include "defs.h"
#include "frame.h"
#include "inferior.h"
#include "command.h"
#include "serial.h"
#include "terminal.h"
#include "target.h"
#include "gdbthread.h"
#include "observer.h"
#include "gdb_string.h"
#include <signal.h>
#include <fcntl.h>
#include "gdb_select.h"
#include "inflow.h"
#include "gdbcmd.h"

Go to the source code of this file.

Defines

#define O_NOCTTY   0
#define OOPSY(what)
#define O_ACCMODE   (O_RDONLY | O_WRONLY | O_RDWR)

Enumerations

enum  { yes, no, have_not_checked }

Functions

void _initialize_inflow (void)
int gdb_has_a_terminal (void)
void terminal_init_inferior_with_pgrp (int pgrp)
void terminal_save_ours (void)
void terminal_init_inferior (void)
void terminal_inferior (void)
void terminal_ours_for_output (void)
void terminal_ours (void)
void copy_terminal_info (struct inferior *to, struct inferior *from)
void term_info (char *arg, int from_tty)
void child_terminal_info (const char *args, int from_tty)
void new_tty_prefork (const char *ttyname)
void new_tty (void)
void new_tty_postfork (void)
void set_sigint_trap (void)
void clear_sigint_trap (void)
pid_t create_tty_session (void)
int gdb_setpgid (void)
void initialize_stdin_serial (void)

Variables

int terminal_is_ours
enum { ... }  gdb_has_a_terminal_flag

Define Documentation

#define O_ACCMODE   (O_RDONLY | O_WRONLY | O_RDWR)
#define O_NOCTTY   0

Definition at line 42 of file inflow.c.

#define OOPSY (   what)
Value:
if (result == -1)       \
    fprintf_unfiltered(gdb_stderr, "[%s failed in terminal_inferior: %s]\n", \
            what, safe_strerror (errno))

Definition at line 207 of file inflow.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
yes 
no 
have_not_checked 

Definition at line 137 of file inflow.c.


Function Documentation

void _initialize_inflow ( void  )
void child_terminal_info ( const char *  args,
int  from_tty 
)

Definition at line 569 of file inflow.c.

void clear_sigint_trap ( void  )

Definition at line 795 of file inflow.c.

void copy_terminal_info ( struct inferior to,
struct inferior from 
)

Definition at line 541 of file inflow.c.

pid_t create_tty_session ( void  )

Definition at line 813 of file inflow.c.

int gdb_has_a_terminal ( void  )

Definition at line 163 of file inflow.c.

int gdb_setpgid ( void  )

Definition at line 842 of file inflow.c.

void initialize_stdin_serial ( void  )

Definition at line 876 of file inflow.c.

void new_tty ( void  )

Definition at line 685 of file inflow.c.

void new_tty_postfork ( void  )

Definition at line 748 of file inflow.c.

void new_tty_prefork ( const char *  ttyname)

Definition at line 662 of file inflow.c.

void set_sigint_trap ( void  )

Definition at line 780 of file inflow.c.

void term_info ( char *  arg,
int  from_tty 
)

Definition at line 563 of file inflow.c.

void terminal_inferior ( void  )

Definition at line 275 of file inflow.c.

void terminal_init_inferior ( void  )

Definition at line 258 of file inflow.c.

Definition at line 218 of file inflow.c.

void terminal_ours ( void  )

Definition at line 366 of file inflow.c.

void terminal_ours_for_output ( void  )

Definition at line 356 of file inflow.c.

void terminal_save_ours ( void  )

Definition at line 248 of file inflow.c.


Variable Documentation

Definition at line 116 of file inflow.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines