GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/tui/tui-win.c File Reference
#include "defs.h"
#include "command.h"
#include "symtab.h"
#include "breakpoint.h"
#include "frame.h"
#include "cli/cli-cmds.h"
#include "top.h"
#include "source.h"
#include "tui/tui.h"
#include "tui/tui-data.h"
#include "tui/tui-wingeneral.h"
#include "tui/tui-stack.h"
#include "tui/tui-regs.h"
#include "tui/tui-disasm.h"
#include "tui/tui-source.h"
#include "tui/tui-winsource.h"
#include "tui/tui-windata.h"
#include "tui/tui-win.h"
#include "gdb_curses.h"
#include "gdb_string.h"
#include <ctype.h>
#include "readline/readline.h"
#include <signal.h>

Go to the source code of this file.

Defines

#define WIN_HEIGHT_USAGE   "Usage: winheight <win_name> [+ | -] <#lines>\n"
#define XDBWIN_HEIGHT_USAGE   "Usage: w <#lines>\n"
#define FOCUS_USAGE   "Usage: focus {<win> | next | prev}\n"
#define ACS_LRCORNER   '+'
#define ACS_LLCORNER   '+'
#define ACS_ULCORNER   '+'
#define ACS_URCORNER   '+'
#define ACS_HLINE   '-'
#define ACS_VLINE   '|'

Functions

int tui_update_variables (void)
struct cmd_list_element ** tui_get_cmd_list (void)
void _initialize_tui_win (void)
void tui_update_gdb_sizes (void)
void tui_set_win_focus_to (struct tui_win_info *win_info)
void tui_scroll_forward (struct tui_win_info *win_to_scroll, int num_to_scroll)
void tui_scroll_backward (struct tui_win_info *win_to_scroll, int num_to_scroll)
void tui_scroll_left (struct tui_win_info *win_to_scroll, int num_to_scroll)
void tui_scroll_right (struct tui_win_info *win_to_scroll, int num_to_scroll)
void tui_scroll (enum tui_scroll_direction direction, struct tui_win_info *win_to_scroll, int num_to_scroll)
void tui_refresh_all_win (void)
void tui_resize_all (void)
void tui_initialize_win (void)

Variables

struct tui_translate tui_border_mode_translate []
struct tui_translate tui_border_kind_translate_vline []
struct tui_translate tui_border_kind_translate_hline []
struct tui_translate tui_border_kind_translate_ulcorner []
struct tui_translate tui_border_kind_translate_urcorner []
struct tui_translate tui_border_kind_translate_llcorner []
struct tui_translate tui_border_kind_translate_lrcorner []
const char * tui_active_border_mode = "bold-standout"
const char * tui_border_mode = "normal"
const char * tui_border_kind = "acs"
chtype tui_border_vline
chtype tui_border_hline
chtype tui_border_ulcorner
chtype tui_border_urcorner
chtype tui_border_llcorner
chtype tui_border_lrcorner
int tui_border_attrs
int tui_active_border_attrs
initialize_file_ftype _initialize_tui_win

Define Documentation

#define ACS_HLINE   '-'

Definition at line 103 of file tui-win.c.

#define ACS_LLCORNER   '+'

Definition at line 94 of file tui-win.c.

#define ACS_LRCORNER   '+'

Definition at line 91 of file tui-win.c.

#define ACS_ULCORNER   '+'

Definition at line 97 of file tui-win.c.

#define ACS_URCORNER   '+'

Definition at line 100 of file tui-win.c.

#define ACS_VLINE   '|'

Definition at line 106 of file tui-win.c.

#define FOCUS_USAGE   "Usage: focus {<win> | next | prev}\n"

Definition at line 84 of file tui-win.c.

#define WIN_HEIGHT_USAGE   "Usage: winheight <win_name> [+ | -] <#lines>\n"

Definition at line 82 of file tui-win.c.

#define XDBWIN_HEIGHT_USAGE   "Usage: w <#lines>\n"

Definition at line 83 of file tui-win.c.


Function Documentation

void _initialize_tui_win ( void  )

Definition at line 356 of file tui-win.c.

struct cmd_list_element** tui_get_cmd_list ( void  ) [read]

Definition at line 340 of file tui-win.c.

void tui_initialize_win ( void  )

Definition at line 831 of file tui-win.c.

void tui_refresh_all_win ( void  )

Definition at line 620 of file tui-win.c.

void tui_resize_all ( void  )

Definition at line 655 of file tui-win.c.

void tui_scroll ( enum tui_scroll_direction  direction,
struct tui_win_info win_to_scroll,
int  num_to_scroll 
)

Definition at line 595 of file tui-win.c.

void tui_scroll_backward ( struct tui_win_info win_to_scroll,
int  num_to_scroll 
)

Definition at line 522 of file tui-win.c.

void tui_scroll_forward ( struct tui_win_info win_to_scroll,
int  num_to_scroll 
)

Definition at line 497 of file tui-win.c.

void tui_scroll_left ( struct tui_win_info win_to_scroll,
int  num_to_scroll 
)

Definition at line 548 of file tui-win.c.

void tui_scroll_right ( struct tui_win_info win_to_scroll,
int  num_to_scroll 
)

Definition at line 571 of file tui-win.c.

void tui_set_win_focus_to ( struct tui_win_info win_info)

Definition at line 480 of file tui-win.c.

void tui_update_gdb_sizes ( void  )

Definition at line 464 of file tui-win.c.

Definition at line 274 of file tui-win.c.


Variable Documentation

Definition at line 251 of file tui-win.c.

const char* tui_active_border_mode = "bold-standout"

Definition at line 204 of file tui-win.c.

Definition at line 250 of file tui-win.c.

Definition at line 244 of file tui-win.c.

const char* tui_border_kind = "acs"

Definition at line 228 of file tui-win.c.

struct tui_translate tui_border_kind_translate_hline[]
Initial value:
 {
  { "space",    ' ' },
  { "ascii",    '-' },
  { "acs",      -1 },
  { 0, 0 },
  { "ascii",    '-' }
}

Definition at line 162 of file tui-win.c.

struct tui_translate tui_border_kind_translate_llcorner[]
Initial value:
 {
  { "space",    ' ' },
  { "ascii",    '+' },
  { "acs",      -1 },
  { 0, 0 },
  { "ascii",    '+' }
}

Definition at line 186 of file tui-win.c.

struct tui_translate tui_border_kind_translate_lrcorner[]
Initial value:
 {
  { "space",    ' ' },
  { "ascii",    '+' },
  { "acs",      -1 },
  { 0, 0 },
  { "ascii",    '+' }
}

Definition at line 194 of file tui-win.c.

struct tui_translate tui_border_kind_translate_ulcorner[]
Initial value:
 {
  { "space",    ' ' },
  { "ascii",    '+' },
  { "acs",      -1 },
  { 0, 0 },
  { "ascii",    '+' }
}

Definition at line 170 of file tui-win.c.

struct tui_translate tui_border_kind_translate_urcorner[]
Initial value:
 {
  { "space",    ' ' },
  { "ascii",    '+' },
  { "acs",      -1 },
  { 0, 0 },
  { "ascii",    '+' }
}

Definition at line 178 of file tui-win.c.

struct tui_translate tui_border_kind_translate_vline[]
Initial value:
 {
  { "space",    ' ' },
  { "ascii",    '|' },
  { "acs",      -1 },
  { 0, 0 },
  { "ascii",    '|' }
}

Definition at line 154 of file tui-win.c.

Definition at line 247 of file tui-win.c.

Definition at line 248 of file tui-win.c.

const char* tui_border_mode = "normal"

Definition at line 216 of file tui-win.c.

struct tui_translate tui_border_mode_translate[]
Initial value:
 {
  { "normal",           A_NORMAL },
  { "standout",         A_STANDOUT },
  { "reverse",          A_REVERSE },
  { "half",             A_DIM },
  { "half-standout",    A_DIM | A_STANDOUT },
  { "bold",             A_BOLD },
  { "bold-standout",    A_BOLD | A_STANDOUT },
  { 0, 0 },
  { "normal",           A_NORMAL }
}

Definition at line 138 of file tui-win.c.

Definition at line 245 of file tui-win.c.

Definition at line 246 of file tui-win.c.

Definition at line 243 of file tui-win.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines