GDB (API)
Classes | Defines | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/tui/tui-data.h File Reference
#include "tui/tui.h"
#include "gdb_curses.h"

Go to the source code of this file.

Classes

struct  tui_point
struct  tui_gen_win_info
struct  tui_list
struct  tui_line_or_address
struct  tui_layout_def
struct  tui_source_element
struct  tui_data_element
struct  tui_command_element
struct  tui_locator_element
union  tui_which_element
struct  tui_win_element
struct  tui_data_info
struct  tui_source_info
struct  tui_command_info
struct  tui_win_info

Defines

#define DEFAULT_TAB_LEN   8
#define NO_SRC_STRING   "[ No Source Available ]"
#define NO_DISASSEM_STRING   "[ No Assembly Available ]"
#define NO_REGS_STRING   "[ Register Values Unavailable ]"
#define NO_DATA_STRING   "[ No Data Values Displayed ]"
#define MAX_CONTENT_COUNT   100
#define SRC_NAME   "SRC"
#define CMD_NAME   "CMD"
#define DATA_NAME   "REGS"
#define DISASSEM_NAME   "ASM"
#define TUI_NULL_STR   ""
#define DEFAULT_HISTORY_COUNT   25
#define BOX_WINDOW   TRUE
#define DONT_BOX_WINDOW   FALSE
#define HILITE   TRUE
#define NO_HILITE   FALSE
#define WITH_LOCATOR   TRUE
#define NO_LOCATOR   FALSE
#define EMPTY_SOURCE_PROMPT   TRUE
#define NO_EMPTY_SOURCE_PROMPT   FALSE
#define UNDEFINED_ITEM   -1
#define MIN_WIN_HEIGHT   3
#define MIN_CMD_WIN_HEIGHT   3
#define PROC_PREFIX   "In: "
#define LINE_PREFIX   "Line: "
#define PC_PREFIX   "PC: "
#define SINGLE_KEY   "(SingleKey)"
#define MIN_LINE_WIDTH
#define MIN_PROC_WIDTH   12
#define MAX_TARGET_WIDTH   10
#define MAX_PID_WIDTH   14
#define TUI_FLOAT_REGS_NAME   "$FREGS"
#define TUI_FLOAT_REGS_NAME_LOWER   "$fregs"
#define TUI_GENERAL_REGS_NAME   "$GREGS"
#define TUI_GENERAL_REGS_NAME_LOWER   "$gregs"
#define TUI_SPECIAL_REGS_NAME   "$SREGS"
#define TUI_SPECIAL_REGS_NAME_LOWER   "$sregs"
#define TUI_GENERAL_SPECIAL_REGS_NAME   "$REGS"
#define TUI_GENERAL_SPECIAL_REGS_NAME_LOWER   "$regs"
#define MAX_LOCATOR_ELEMENT_LEN   1024
#define TUI_BP_ENABLED   0x01
#define TUI_BP_DISABLED   0x02
#define TUI_BP_HIT   0x04
#define TUI_BP_CONDITIONAL   0x08
#define TUI_BP_HARDWARE   0x10
#define TUI_BP_HIT_POS   0
#define TUI_BP_BREAK_POS   1
#define TUI_EXEC_POS   2
#define TUI_EXECINFO_SIZE   4
#define TUI_SRC_WIN   tui_win_list[SRC_WIN]
#define TUI_DISASM_WIN   tui_win_list[DISASSEM_WIN]
#define TUI_DATA_WIN   tui_win_list[DATA_WIN]
#define TUI_CMD_WIN   tui_win_list[CMD_WIN]

Typedefs

typedef char tui_exec_info_content [TUI_EXECINFO_SIZE]
typedef struct tui_win_element ** tui_win_content

Enumerations

enum  tui_scroll_direction { FORWARD_SCROLL, BACKWARD_SCROLL, LEFT_SCROLL, RIGHT_SCROLL }
enum  tui_layout_type {
  SRC_COMMAND, DISASSEM_COMMAND, SRC_DISASSEM_COMMAND, SRC_DATA_COMMAND,
  DISASSEM_DATA_COMMAND, UNDEFINED_LAYOUT
}
enum  tui_data_type { TUI_REGISTER, TUI_SCALAR, TUI_COMPLEX, TUI_STRUCT }
enum  tui_register_display_type {
  TUI_UNDEFINED_REGS, TUI_GENERAL_REGS, TUI_SFLOAT_REGS, TUI_DFLOAT_REGS,
  TUI_SPECIAL_REGS, TUI_GENERAL_AND_SPECIAL_REGS
}

Functions

int tui_win_is_source_type (enum tui_win_type win_type)
int tui_win_is_auxillary (enum tui_win_type win_type)
int tui_win_has_locator (struct tui_win_info *win_info)
void tui_set_win_highlight (struct tui_win_info *win_info, int highlight)
void tui_initialize_static_data (void)
struct tui_gen_win_infotui_alloc_generic_win_info (void)
struct tui_win_infotui_alloc_win_info (enum tui_win_type)
void tui_init_generic_part (struct tui_gen_win_info *)
void tui_init_win_info (struct tui_win_info *)
tui_win_content tui_alloc_content (int, enum tui_win_type)
int tui_add_content_elements (struct tui_gen_win_info *, int)
void tui_init_content_element (struct tui_win_element *, enum tui_win_type)
void tui_free_window (struct tui_win_info *)
void tui_free_win_content (struct tui_gen_win_info *)
void tui_free_data_content (tui_win_content, int)
void tui_free_all_source_wins_content (void)
void tui_del_window (struct tui_win_info *)
void tui_del_data_windows (tui_win_content, int)
struct tui_win_infotui_partial_win_by_name (char *)
char * tui_win_name (struct tui_gen_win_info *)
enum tui_layout_type tui_current_layout (void)
void tui_set_current_layout_to (enum tui_layout_type)
int tui_term_height (void)
void tui_set_term_height_to (int)
int tui_term_width (void)
void tui_set_term_width_to (int)
struct tui_gen_win_infotui_locator_win_info_ptr (void)
struct tui_gen_win_infotui_source_exec_info_win_ptr (void)
struct tui_gen_win_infotui_disassem_exec_info_win_ptr (void)
struct tui_listtui_source_windows (void)
void tui_clear_source_windows (void)
void tui_clear_source_windows_detail (void)
void tui_clear_win_detail (struct tui_win_info *)
void tui_add_to_source_windows (struct tui_win_info *)
int tui_default_tab_len (void)
void tui_set_default_tab_len (int)
struct tui_win_infotui_win_with_focus (void)
void tui_set_win_with_focus (struct tui_win_info *)
struct tui_layout_deftui_layout_def (void)
int tui_win_resized (void)
void tui_set_win_resized_to (int)
struct tui_win_infotui_next_win (struct tui_win_info *)
struct tui_win_infotui_prev_win (struct tui_win_info *)

Variables

struct tui_win_infotui_win_list [MAX_MAJOR_WINDOWS]

Define Documentation

#define BOX_WINDOW   TRUE

Definition at line 64 of file tui-data.h.

#define CMD_NAME   "CMD"

Definition at line 59 of file tui-data.h.

#define DATA_NAME   "REGS"

Definition at line 60 of file tui-data.h.

#define DEFAULT_HISTORY_COUNT   25

Definition at line 63 of file tui-data.h.

#define DEFAULT_TAB_LEN   8

Definition at line 52 of file tui-data.h.

#define DISASSEM_NAME   "ASM"

Definition at line 61 of file tui-data.h.

#define DONT_BOX_WINDOW   FALSE

Definition at line 65 of file tui-data.h.

#define EMPTY_SOURCE_PROMPT   TRUE

Definition at line 70 of file tui-data.h.

#define HILITE   TRUE

Definition at line 66 of file tui-data.h.

#define LINE_PREFIX   "Line: "

Definition at line 78 of file tui-data.h.

#define MAX_CONTENT_COUNT   100

Definition at line 57 of file tui-data.h.

#define MAX_LOCATOR_ELEMENT_LEN   1024

Definition at line 199 of file tui-data.h.

#define MAX_PID_WIDTH   14

Definition at line 87 of file tui-data.h.

#define MAX_TARGET_WIDTH   10

Definition at line 86 of file tui-data.h.

#define MIN_CMD_WIN_HEIGHT   3

Definition at line 74 of file tui-data.h.

#define MIN_LINE_WIDTH
Value:
4       /* Use at least 4 digits for line
                                   numbers.  */

Definition at line 84 of file tui-data.h.

#define MIN_PROC_WIDTH   12

Definition at line 85 of file tui-data.h.

#define MIN_WIN_HEIGHT   3

Definition at line 73 of file tui-data.h.

#define NO_DATA_STRING   "[ No Data Values Displayed ]"

Definition at line 56 of file tui-data.h.

#define NO_DISASSEM_STRING   "[ No Assembly Available ]"

Definition at line 54 of file tui-data.h.

#define NO_EMPTY_SOURCE_PROMPT   FALSE

Definition at line 71 of file tui-data.h.

#define NO_HILITE   FALSE

Definition at line 67 of file tui-data.h.

#define NO_LOCATOR   FALSE

Definition at line 69 of file tui-data.h.

#define NO_REGS_STRING   "[ Register Values Unavailable ]"

Definition at line 55 of file tui-data.h.

#define NO_SRC_STRING   "[ No Source Available ]"

Definition at line 53 of file tui-data.h.

#define PC_PREFIX   "PC: "

Definition at line 79 of file tui-data.h.

#define PROC_PREFIX   "In: "

Definition at line 77 of file tui-data.h.

#define SINGLE_KEY   "(SingleKey)"

Definition at line 80 of file tui-data.h.

#define SRC_NAME   "SRC"

Definition at line 58 of file tui-data.h.

#define TUI_BP_BREAK_POS   1

Definition at line 223 of file tui-data.h.

#define TUI_BP_CONDITIONAL   0x08

Definition at line 218 of file tui-data.h.

#define TUI_BP_DISABLED   0x02

Definition at line 216 of file tui-data.h.

#define TUI_BP_ENABLED   0x01

Definition at line 215 of file tui-data.h.

#define TUI_BP_HARDWARE   0x10

Definition at line 219 of file tui-data.h.

#define TUI_BP_HIT   0x04

Definition at line 217 of file tui-data.h.

#define TUI_BP_HIT_POS   0

Definition at line 222 of file tui-data.h.

Definition at line 319 of file tui-data.h.

Definition at line 318 of file tui-data.h.

Definition at line 317 of file tui-data.h.

#define TUI_EXEC_POS   2

Definition at line 224 of file tui-data.h.

#define TUI_EXECINFO_SIZE   4

Definition at line 225 of file tui-data.h.

#define TUI_FLOAT_REGS_NAME   "$FREGS"

Definition at line 89 of file tui-data.h.

#define TUI_FLOAT_REGS_NAME_LOWER   "$fregs"

Definition at line 90 of file tui-data.h.

#define TUI_GENERAL_REGS_NAME   "$GREGS"

Definition at line 91 of file tui-data.h.

#define TUI_GENERAL_REGS_NAME_LOWER   "$gregs"

Definition at line 92 of file tui-data.h.

#define TUI_GENERAL_SPECIAL_REGS_NAME   "$REGS"

Definition at line 95 of file tui-data.h.

Definition at line 96 of file tui-data.h.

#define TUI_NULL_STR   ""

Definition at line 62 of file tui-data.h.

#define TUI_SPECIAL_REGS_NAME   "$SREGS"

Definition at line 93 of file tui-data.h.

#define TUI_SPECIAL_REGS_NAME_LOWER   "$sregs"

Definition at line 94 of file tui-data.h.

Definition at line 316 of file tui-data.h.

#define UNDEFINED_ITEM   -1

Definition at line 72 of file tui-data.h.

#define WITH_LOCATOR   TRUE

Definition at line 68 of file tui-data.h.


Typedef Documentation

Definition at line 227 of file tui-data.h.

typedef struct tui_win_element** tui_win_content

Definition at line 248 of file tui-data.h.


Enumeration Type Documentation

Enumerator:
TUI_REGISTER 
TUI_SCALAR 
TUI_COMPLEX 
TUI_STRUCT 

Definition at line 128 of file tui-data.h.

Enumerator:
SRC_COMMAND 
DISASSEM_COMMAND 
SRC_DISASSEM_COMMAND 
SRC_DATA_COMMAND 
DISASSEM_DATA_COMMAND 
UNDEFINED_LAYOUT 

Definition at line 117 of file tui-data.h.

Enumerator:
TUI_UNDEFINED_REGS 
TUI_GENERAL_REGS 
TUI_SFLOAT_REGS 
TUI_DFLOAT_REGS 
TUI_SPECIAL_REGS 
TUI_GENERAL_AND_SPECIAL_REGS 

Definition at line 137 of file tui-data.h.

Enumerator:
FORWARD_SCROLL 
BACKWARD_SCROLL 
LEFT_SCROLL 
RIGHT_SCROLL 

Definition at line 99 of file tui-data.h.


Function Documentation

Definition at line 632 of file tui-data.c.

Definition at line 196 of file tui-data.c.

tui_win_content tui_alloc_content ( int  ,
enum  tui_win_type 
)

Definition at line 586 of file tui-data.c.

struct tui_gen_win_info* tui_alloc_generic_win_info ( void  ) [read]

Definition at line 446 of file tui-data.c.

struct tui_win_info* tui_alloc_win_info ( enum  tui_win_type) [read]

Definition at line 569 of file tui-data.c.

void tui_clear_source_windows ( void  )

Definition at line 173 of file tui-data.c.

Definition at line 183 of file tui-data.c.

void tui_clear_win_detail ( struct tui_win_info )

Definition at line 205 of file tui-data.c.

Definition at line 300 of file tui-data.c.

Definition at line 145 of file tui-data.c.

Definition at line 816 of file tui-data.c.

void tui_del_window ( struct tui_win_info )

Definition at line 669 of file tui-data.c.

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

Definition at line 784 of file tui-data.c.

Definition at line 840 of file tui-data.c.

Definition at line 802 of file tui-data.c.

void tui_free_window ( struct tui_win_info )

Definition at line 719 of file tui-data.c.

void tui_init_content_element ( struct tui_win_element ,
enum  tui_win_type 
)

Definition at line 458 of file tui-data.c.

void tui_init_win_info ( struct tui_win_info )
void tui_initialize_static_data ( void  )

Definition at line 437 of file tui-data.c.

struct tui_layout_def* tui_layout_def ( void  ) [read]

Definition at line 121 of file tui-data.c.

struct tui_gen_win_info* tui_locator_win_info_ptr ( void  ) [read]

Definition at line 260 of file tui-data.c.

struct tui_win_info* tui_next_win ( struct tui_win_info ) [read]

Definition at line 322 of file tui-data.c.

struct tui_win_info* tui_partial_win_by_name ( char *  ) [read]

Definition at line 381 of file tui-data.c.

struct tui_win_info* tui_prev_win ( struct tui_win_info ) [read]

Definition at line 352 of file tui-data.c.

void tui_set_current_layout_to ( enum  tui_layout_type)

Definition at line 308 of file tui-data.c.

Definition at line 153 of file tui-data.c.

Definition at line 276 of file tui-data.c.

Definition at line 292 of file tui-data.c.

void tui_set_win_highlight ( struct tui_win_info win_info,
int  highlight 
)

Definition at line 92 of file tui-data.c.

Definition at line 113 of file tui-data.c.

void tui_set_win_with_focus ( struct tui_win_info )

Definition at line 137 of file tui-data.c.

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

struct tui_list* tui_source_windows ( void  ) [read]

Definition at line 163 of file tui-data.c.

int tui_term_height ( void  )

Definition at line 268 of file tui-data.c.

int tui_term_width ( void  )

Definition at line 284 of file tui-data.c.

int tui_win_has_locator ( struct tui_win_info win_info)

Definition at line 85 of file tui-data.c.

Definition at line 79 of file tui-data.c.

Definition at line 73 of file tui-data.c.

char* tui_win_name ( struct tui_gen_win_info )

Definition at line 409 of file tui-data.c.

int tui_win_resized ( void  )

Definition at line 105 of file tui-data.c.

struct tui_win_info* tui_win_with_focus ( void  ) [read]

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


Variable Documentation

Definition at line 34 of file tui-data.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines