GDB (xrefs)
Classes | Functions | Variables
/tmp/gdb-8.1/gdb/valprint.h File Reference

Go to the source code of this file.

Classes

struct  value_print_options
 
struct  generic_val_print_decorations
 
struct  format_data
 

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 *, LONGEST, CORE_ADDR, struct ui_file *, int, struct value *, const struct value_print_options *, unsigned int)
 
void val_print_scalar_formatted (struct type *, LONGEST, 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, bool)
 
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, bool, enum bfd_endian)
 
void print_hex_chars (struct ui_file *, const gdb_byte *, unsigned int, enum bfd_endian, bool)
 
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_not_saved (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, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, 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)
 
void print_command_parse_format (const char **expp, const char *cmdname, struct format_data *fmtp)
 
void print_value (struct value *val, const struct format_data *fmtp)
 

Variables

struct value_print_options user_print_options
 

Function Documentation

◆ generic_emit_char()

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

◆ generic_printstr()

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 
)

◆ generic_val_print()

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

◆ get_formatted_print_options()

void get_formatted_print_options ( struct value_print_options opts,
char  format 
)

◆ get_no_prettyformat_print_options()

void get_no_prettyformat_print_options ( struct value_print_options )

◆ get_user_print_options()

void get_user_print_options ( struct value_print_options opts)

◆ maybe_print_array_index()

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

◆ output_command_const()

void output_command_const ( const char *  args,
int  from_tty 
)

◆ print_binary_chars()

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

Definition at line 1369 of file valprint.c.

References fputc_filtered(), and HOST_CHAR_BIT.

Referenced by print_scalar_formatted().

◆ print_char_chars()

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

Definition at line 1848 of file valprint.c.

References LA_EMIT_CHAR.

◆ print_command_parse_format()

void print_command_parse_format ( const char **  expp,
const char *  cmdname,
struct format_data fmtp 
)

◆ print_decimal_chars()

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

◆ print_function_pointer_address()

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

◆ print_hex_chars()

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

◆ print_octal_chars()

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

◆ print_value()

void print_value ( struct value val,
const struct format_data fmtp 
)

◆ read_string()

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

◆ val_print_array_elements()

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

◆ val_print_invalid_address()

void val_print_invalid_address ( struct ui_file stream)

Definition at line 374 of file valprint.c.

References _, and fprintf_filtered().

Referenced by cp_print_value(), and pascal_object_print_value().

◆ val_print_not_saved()

void val_print_not_saved ( struct ui_file stream)

Definition at line 362 of file valprint.c.

References _, and fprintf_filtered().

Referenced by fprint_frame(), info_frame_command(), and val_print_optimized_out().

◆ val_print_optimized_out()

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

◆ val_print_scalar_formatted()

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

◆ val_print_scalar_type_p()

int val_print_scalar_type_p ( struct type type)

◆ val_print_unavailable()

void val_print_unavailable ( struct ui_file stream)

Variable Documentation

◆ user_print_options

struct value_print_options user_print_options