GDB (API)
Classes | Functions | Variables
/home/stan/gdb/src/gdb/valprint.h File Reference

Go to the source code of this file.

Classes

struct  value_print_options
struct  generic_val_print_decorations

Functions

void get_user_print_options (struct value_print_options *opts)
void get_no_prettyformat_print_options (struct value_print_options *)
void get_formatted_print_options (struct value_print_options *opts, char format)
void maybe_print_array_index (struct type *index_type, LONGEST index, struct ui_file *stream, const struct value_print_options *)
void val_print_array_elements (struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, const struct value *, const struct value_print_options *, unsigned int)
void val_print_type_code_int (struct type *, const gdb_byte *, struct ui_file *)
void val_print_type_code_flags (struct type *type, const gdb_byte *valaddr, struct ui_file *stream)
void val_print_scalar_formatted (struct type *, const gdb_byte *, int, const struct value *, const struct value_print_options *, int, struct ui_file *)
void print_binary_chars (struct ui_file *, const gdb_byte *, unsigned int, enum bfd_endian)
void print_octal_chars (struct ui_file *, const gdb_byte *, unsigned int, enum bfd_endian)
void print_decimal_chars (struct ui_file *, const gdb_byte *, unsigned int, enum bfd_endian)
void print_hex_chars (struct ui_file *, const gdb_byte *, unsigned int, enum bfd_endian)
void print_char_chars (struct ui_file *, struct type *, const gdb_byte *, unsigned int, enum bfd_endian)
void print_function_pointer_address (const struct value_print_options *options, struct gdbarch *gdbarch, CORE_ADDR address, struct ui_file *stream)
int read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit, enum bfd_endian byte_order, gdb_byte **buffer, int *bytes_read)
void val_print_optimized_out (const struct value *val, struct ui_file *stream)
void val_print_unavailable (struct ui_file *stream)
void val_print_invalid_address (struct ui_file *stream)
void generic_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *original_value, const struct value_print_options *options, const struct generic_val_print_decorations *)
void generic_emit_char (int c, struct type *type, struct ui_file *stream, int quoter, const char *encoding)
void generic_printstr (struct ui_file *stream, struct type *type, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, int quote_char, int c_style_terminator, const struct value_print_options *options)
void output_command_const (const char *args, int from_tty)
int val_print_scalar_type_p (struct type *type)

Variables

struct value_print_options user_print_options

Function Documentation

void generic_emit_char ( int  c,
struct type type,
struct ui_file *  stream,
int  quoter,
const char *  encoding 
)

Definition at line 2009 of file valprint.c.

void generic_printstr ( struct ui_file *  stream,
struct type type,
const gdb_byte string,
unsigned int  length,
const char *  encoding,
int  force_ellipses,
int  quote_char,
int  c_style_terminator,
const struct value_print_options options 
)

Definition at line 2338 of file valprint.c.

void generic_val_print ( struct type type,
const gdb_byte valaddr,
int  embedded_offset,
CORE_ADDR  address,
struct ui_file *  stream,
int  recurse,
const struct value *  original_value,
const struct value_print_options options,
const struct generic_val_print_decorations  
)

Definition at line 371 of file valprint.c.

void get_formatted_print_options ( struct value_print_options opts,
char  format 
)

Definition at line 150 of file valprint.c.

Definition at line 141 of file valprint.c.

Definition at line 133 of file valprint.c.

void maybe_print_array_index ( struct type index_type,
LONGEST  index,
struct ui_file *  stream,
const struct value_print_options  
)

Definition at line 1580 of file valprint.c.

void output_command_const ( const char *  args,
int  from_tty 
)

Definition at line 1039 of file printcmd.c.

void print_binary_chars ( struct ui_file *  ,
const gdb_byte ,
unsigned  int,
enum  bfd_endian 
)

Definition at line 1144 of file valprint.c.

void print_char_chars ( struct ui_file *  ,
struct type ,
const gdb_byte ,
unsigned  int,
enum  bfd_endian 
)

Definition at line 1519 of file valprint.c.

void print_decimal_chars ( struct ui_file *  ,
const gdb_byte ,
unsigned  int,
enum  bfd_endian 
)

Definition at line 1355 of file valprint.c.

void print_function_pointer_address ( const struct value_print_options options,
struct gdbarch *  gdbarch,
CORE_ADDR  address,
struct ui_file *  stream 
)

Definition at line 1555 of file valprint.c.

void print_hex_chars ( struct ui_file *  ,
const gdb_byte ,
unsigned  int,
enum  bfd_endian 
)

Definition at line 1486 of file valprint.c.

void print_octal_chars ( struct ui_file *  ,
const gdb_byte ,
unsigned  int,
enum  bfd_endian 
)

Definition at line 1204 of file valprint.c.

int read_string ( CORE_ADDR  addr,
int  len,
int  width,
unsigned int  fetchlimit,
enum bfd_endian  byte_order,
gdb_byte **  buffer,
int bytes_read 
)

Definition at line 1777 of file valprint.c.

void val_print_array_elements ( struct type ,
const gdb_byte ,
int  ,
CORE_ADDR  ,
struct ui_file *  ,
int  ,
const struct value *  ,
const struct value_print_options ,
unsigned  int 
)

Definition at line 1603 of file valprint.c.

void val_print_invalid_address ( struct ui_file *  stream)

Definition at line 354 of file valprint.c.

void val_print_optimized_out ( const struct value *  val,
struct ui_file *  stream 
)

Definition at line 339 of file valprint.c.

void val_print_scalar_formatted ( struct type ,
const gdb_byte ,
int  ,
const struct value *  ,
const struct value_print_options ,
int  ,
struct ui_file *   
)

Definition at line 945 of file valprint.c.

int val_print_scalar_type_p ( struct type type)

Definition at line 279 of file valprint.c.

void val_print_type_code_flags ( struct type type,
const gdb_byte valaddr,
struct ui_file *  stream 
)

Definition at line 916 of file valprint.c.

void val_print_type_code_int ( struct type ,
const gdb_byte ,
struct ui_file *   
)

Definition at line 883 of file valprint.c.

void val_print_unavailable ( struct ui_file *  stream)

Definition at line 348 of file valprint.c.


Variable Documentation

Definition at line 108 of file valprint.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines