GDB (API)
Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/ui-out.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "expression.h"
#include "language.h"
#include "ui-out.h"
#include "gdb_assert.h"

Go to the source code of this file.

Typedefs

typedef struct ui_out_level * ui_out_level_p

Enumerations

enum  { MAX_UI_OUT_LEVELS = 8 }

Functions

 DEF_VEC_P (ui_out_level_p)
void _initialize_ui_out (void)
void ui_out_table_body (struct ui_out *uiout)
void ui_out_table_header (struct ui_out *uiout, int width, enum ui_align alignment, const char *col_name, const char *colhdr)
struct cleanup * make_cleanup_ui_out_table_begin_end (struct ui_out *ui_out, int nr_cols, int nr_rows, const char *tblid)
void ui_out_begin (struct ui_out *uiout, enum ui_out_type type, const char *id)
void ui_out_end (struct ui_out *uiout, enum ui_out_type type)
struct cleanup * make_cleanup_ui_out_tuple_begin_end (struct ui_out *uiout, const char *id)
struct cleanup * make_cleanup_ui_out_list_begin_end (struct ui_out *uiout, const char *id)
void ui_out_field_int (struct ui_out *uiout, const char *fldname, int value)
void ui_out_field_fmt_int (struct ui_out *uiout, int input_width, enum ui_align input_align, const char *fldname, int value)
void ui_out_field_core_addr (struct ui_out *uiout, const char *fldname, struct gdbarch *gdbarch, CORE_ADDR address)
void ui_out_field_stream (struct ui_out *uiout, const char *fldname, struct ui_file *stream)
void ui_out_field_skip (struct ui_out *uiout, const char *fldname)
void ui_out_field_string (struct ui_out *uiout, const char *fldname, const char *string)
void ui_out_field_fmt (struct ui_out *uiout, const char *fldname, const char *format,...)
void ui_out_spaces (struct ui_out *uiout, int numspaces)
void ui_out_text (struct ui_out *uiout, const char *string)
void ui_out_message (struct ui_out *uiout, int verbosity, const char *format,...)
void ui_out_wrap_hint (struct ui_out *uiout, char *identstring)
void ui_out_flush (struct ui_out *uiout)
int ui_out_redirect (struct ui_out *uiout, struct ui_file *outstream)
int ui_out_set_flags (struct ui_out *uiout, int mask)
int ui_out_clear_flags (struct ui_out *uiout, int mask)
int ui_out_test_flags (struct ui_out *uiout, int mask)
int ui_out_get_verblvl (struct ui_out *uiout)
int ui_out_is_mi_like_p (struct ui_out *uiout)
void uo_field_string (struct ui_out *uiout, int fldno, int width, enum ui_align align, const char *fldname, const char *string)
void * ui_out_data (struct ui_out *uiout)
int ui_out_query_field (struct ui_out *uiout, int colno, int *width, int *alignment, char **col_name)
struct ui_out * ui_out_new (struct ui_out_impl *impl, void *data, int flags)
void ui_out_destroy (struct ui_out *uiout)

Variables

struct ui_out_impl default_ui_out_impl
struct ui_out def_uiout
struct ui_out * current_uiout = &def_uiout

Typedef Documentation

typedef struct ui_out_level* ui_out_level_p

Definition at line 57 of file ui-out.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
MAX_UI_OUT_LEVELS 

Definition at line 46 of file ui-out.c.


Function Documentation

void _initialize_ui_out ( void  )
struct cleanup* make_cleanup_ui_out_list_begin_end ( struct ui_out *  uiout,
const char *  id 
) [read]

Definition at line 461 of file ui-out.c.

struct cleanup* make_cleanup_ui_out_table_begin_end ( struct ui_out *  ui_out,
int  nr_cols,
int  nr_rows,
const char *  tblid 
) [read]

Definition at line 371 of file ui-out.c.

struct cleanup* make_cleanup_ui_out_tuple_begin_end ( struct ui_out *  uiout,
const char *  id 
) [read]

Definition at line 453 of file ui-out.c.

void ui_out_begin ( struct ui_out *  uiout,
enum ui_out_type  type,
const char *  id 
)

Definition at line 379 of file ui-out.c.

int ui_out_clear_flags ( struct ui_out *  uiout,
int  mask 
)

Definition at line 631 of file ui-out.c.

void* ui_out_data ( struct ui_out *  uiout)

Definition at line 1068 of file ui-out.c.

void ui_out_destroy ( struct ui_out *  uiout)

Definition at line 1126 of file ui-out.c.

void ui_out_end ( struct ui_out *  uiout,
enum ui_out_type  type 
)

Definition at line 417 of file ui-out.c.

void ui_out_field_core_addr ( struct ui_out *  uiout,
const char *  fldname,
struct gdbarch *  gdbarch,
CORE_ADDR  address 
)

Definition at line 501 of file ui-out.c.

void ui_out_field_fmt ( struct ui_out *  uiout,
const char *  fldname,
const char *  format,
  ... 
)

Definition at line 558 of file ui-out.c.

void ui_out_field_fmt_int ( struct ui_out *  uiout,
int  input_width,
enum ui_align  input_align,
const char *  fldname,
int  value 
)

Definition at line 483 of file ui-out.c.

void ui_out_field_int ( struct ui_out *  uiout,
const char *  fldname,
int  value 
)

Definition at line 469 of file ui-out.c.

void ui_out_field_skip ( struct ui_out *  uiout,
const char *  fldname 
)

Definition at line 530 of file ui-out.c.

void ui_out_field_stream ( struct ui_out *  uiout,
const char *  fldname,
struct ui_file *  stream 
)

Definition at line 511 of file ui-out.c.

void ui_out_field_string ( struct ui_out *  uiout,
const char *  fldname,
const char *  string 
)

Definition at line 543 of file ui-out.c.

void ui_out_flush ( struct ui_out *  uiout)

Definition at line 608 of file ui-out.c.

int ui_out_get_verblvl ( struct ui_out *  uiout)

Definition at line 650 of file ui-out.c.

int ui_out_is_mi_like_p ( struct ui_out *  uiout)

Definition at line 657 of file ui-out.c.

void ui_out_message ( struct ui_out *  uiout,
int  verbosity,
const char *  format,
  ... 
)

Definition at line 591 of file ui-out.c.

struct ui_out* ui_out_new ( struct ui_out_impl impl,
void *  data,
int  flags 
) [read]

Definition at line 1098 of file ui-out.c.

int ui_out_query_field ( struct ui_out *  uiout,
int  colno,
int width,
int alignment,
char **  col_name 
)

Definition at line 1075 of file ui-out.c.

int ui_out_redirect ( struct ui_out *  uiout,
struct ui_file *  outstream 
)

Definition at line 614 of file ui-out.c.

int ui_out_set_flags ( struct ui_out *  uiout,
int  mask 
)

Definition at line 621 of file ui-out.c.

void ui_out_spaces ( struct ui_out *  uiout,
int  numspaces 
)

Definition at line 578 of file ui-out.c.

void ui_out_table_body ( struct ui_out *  uiout)

Definition at line 311 of file ui-out.c.

void ui_out_table_header ( struct ui_out *  uiout,
int  width,
enum ui_align  alignment,
const char *  col_name,
const char *  colhdr 
)

Definition at line 348 of file ui-out.c.

int ui_out_test_flags ( struct ui_out *  uiout,
int  mask 
)

Definition at line 641 of file ui-out.c.

void ui_out_text ( struct ui_out *  uiout,
const char *  string 
)

Definition at line 584 of file ui-out.c.

void ui_out_wrap_hint ( struct ui_out *  uiout,
char *  identstring 
)

Definition at line 602 of file ui-out.c.

void uo_field_string ( struct ui_out *  uiout,
int  fldno,
int  width,
enum ui_align  align,
const char *  fldname,
const char *  string 
)

Definition at line 856 of file ui-out.c.


Variable Documentation

struct ui_out* current_uiout = &def_uiout

Definition at line 235 of file ui-out.c.

struct ui_out def_uiout
Initial value:

Definition at line 225 of file ui-out.c.

Initial value:
{
  default_table_begin,
  default_table_body,
  default_table_end,
  default_table_header,
  default_begin,
  default_end,
  default_field_int,
  default_field_skip,
  default_field_string,
  default_field_fmt,
  default_spaces,
  default_text,
  default_message,
  default_wrap_hint,
  default_flush,
  NULL,
  default_data_destroy,
  0, 
}

Definition at line 201 of file ui-out.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines