GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/tui/tui-io.c File Reference
#include "defs.h"
#include "target.h"
#include "event-loop.h"
#include "event-top.h"
#include "command.h"
#include "top.h"
#include "tui/tui.h"
#include "tui/tui-data.h"
#include "tui/tui-io.h"
#include "tui/tui-command.h"
#include "tui/tui-win.h"
#include "tui/tui-wingeneral.h"
#include "tui/tui-file.h"
#include "ui-out.h"
#include "cli-out.h"
#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
#include "filestuff.h"
#include "gdb_curses.h"
#include "readline/readline.h"

Go to the source code of this file.

Defines

#define CTRL_CHAR(c)   ((c) < control_character_threshold && (((c) & 0x80) == 0))
#define PUTX(c)

Functions

int key_is_start_sequence (int ch)
int key_is_end_sequence (int ch)
int key_is_backspace (int ch)
int key_is_command_char (int ch)
void tui_puts (const char *string)
void tui_redisplay_readline (void)
void tui_setup_io (int mode)
void tui_initialize_io (void)
int tui_getc (FILE *fp)

Variables

struct ui_out * tui_out
struct ui_out * tui_old_uiout

Define Documentation

#define CTRL_CHAR (   c)    ((c) < control_character_threshold && (((c) & 0x80) == 0))

Definition at line 80 of file tui-io.c.

#define PUTX (   c)
Value:
do { \
      if (CTRL_CHAR (c)) \
        { \
          tui_puts ("^"); \
          tui_putc (UNCTRL (c)); \
          printed_len += 2; \
        } \
      else if (c == RUBOUT) \
        { \
          tui_puts ("^?"); \
          printed_len += 2; \
        } \
      else \
        { \
          tui_putc (c); \
          printed_len++; \
        } \
    } while (0)

Definition at line 341 of file tui-io.c.


Function Documentation

Definition at line 62 of file tui-io.c.

Definition at line 68 of file tui-io.c.

Definition at line 56 of file tui-io.c.

Definition at line 50 of file tui-io.c.

int tui_getc ( FILE *  fp)

Definition at line 648 of file tui-io.c.

void tui_initialize_io ( void  )

Definition at line 601 of file tui-io.c.

void tui_puts ( const char *  string)

Definition at line 164 of file tui-io.c.

void tui_redisplay_readline ( void  )

Definition at line 201 of file tui-io.c.

void tui_setup_io ( int  mode)

Definition at line 511 of file tui-io.c.


Variable Documentation

struct ui_out* tui_old_uiout

Definition at line 129 of file tui-io.c.

struct ui_out* tui_out

Definition at line 124 of file tui-io.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines