GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "valprint.h"
#include "language.h"
#include "c-lang.h"
#include "cp-abi.h"
#include "target.h"
#include "objfiles.h"
Go to the source code of this file.
Functions | |
static int | textual_name (const char *name) |
int | c_textual_element_type (struct type *type, char format) |
static void | print_unpacked_pointer (struct type *type, struct type *elttype, struct type *unresolved_elttype, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value_print_options *options) |
static void | c_value_print_array (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) |
static void | c_value_print_ptr (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) |
static void | c_value_print_struct (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) |
static void | c_value_print_int (struct value *val, struct ui_file *stream, const struct value_print_options *options) |
void | c_value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) |
void | c_value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) |
Variables | |
static const struct generic_val_print_decorations | c_decorations |
int c_textual_element_type | ( | struct type * | type, |
char | format ) |
Definition at line 57 of file c-valprint.c.
References check_typedef(), type::code(), type::length(), type::name(), type::target_type(), textual_name(), type, and TYPE_NOTTEXT.
Referenced by c_get_string(), c_is_string_type_p(), c_value_print_array(), c_value_print_int(), gen_traced_pop(), and print_unpacked_pointer().
void c_value_print | ( | struct value * | val, |
struct ui_file * | stream, | ||
const struct value_print_options * | options ) |
Definition at line 472 of file c-valprint.c.
References check_typedef(), type::code(), common_val_print(), current_language, value::enclosing_type(), value::entirely_available(), gdb_printf(), value::initialized(), type::is_pointer_or_reference(), type::length(), type::name(), value_print_options::objectprint, type::target_type(), textual_name(), type, value::type(), TYPE_CODE_UNDEF, TYPE_IS_REFERENCE, type_print(), value_addr(), value_as_address(), value_cast(), value_from_pointer(), value_full_object(), value_ind(), value_ref(), value_rtti_indirect_type(), and value_rtti_type().
Referenced by language_defn::value_print().
|
static |
Definition at line 234 of file c-valprint.c.
References value::address, value::bits_any_optimized_out(), value::bytes_available(), c_textual_element_type(), check_typedef(), value::contents_for_printing(), cp_is_vtbl_ptr_type(), current_language, extract_unsigned_integer(), value_print_options::format, gdb_printf(), get_array_bounds(), get_print_max_chars(), type::length(), print_unpacked_pointer(), language_defn::printstr(), value_print_options::stop_print_at_null, type::target_type(), value::type(), type_byte_order(), and value_print_array_elements().
Referenced by c_value_print_inner().
void c_value_print_inner | ( | struct value * | val, |
struct ui_file * | stream, | ||
int | recurse, | ||
const struct value_print_options * | options ) |
Definition at line 422 of file c-valprint.c.
References c_decorations, c_value_print_array(), c_value_print_int(), c_value_print_ptr(), c_value_print_struct(), check_typedef(), type::code(), generic_value_print(), value::type(), and TYPE_CODE_UNDEF.
Referenced by d_value_print_inner(), language_defn::value_print_inner(), and go_language::value_print_inner().
|
static |
Definition at line 390 of file c-valprint.c.
References c_textual_element_type(), value::contents_for_printing(), current_language, value_print_options::format, gdb_puts(), value_print_options::output_format, language_defn::printchar(), value::type(), unpack_long(), and value_print_scalar_formatted().
Referenced by c_value_print_inner().
|
static |
Definition at line 327 of file c-valprint.c.
References type::arch(), check_typedef(), value::contents_for_printing(), cp_is_vtbl_ptr_type(), extract_typed_address(), value_print_options::format, print_function_pointer_address(), print_unpacked_pointer(), type::target_type(), value::type(), unpack_pointer(), value_print_scalar_formatted(), and value_print_options::vtblprint.
Referenced by c_value_print_inner().
|
static |
Definition at line 363 of file c-valprint.c.
References type::arch(), check_typedef(), type::code(), value::contents_for_printing(), cp_is_vtbl_ptr_type(), cp_print_value_fields(), extract_typed_address(), type::field(), gdb_printf(), field::loc_bitpos(), print_function_pointer_address(), field::type(), value::type(), value_print_options::unionprint, VTBL_FNADDR_OFFSET, and value_print_options::vtblprint.
Referenced by c_value_print_inner().
|
static |
Definition at line 140 of file c-valprint.c.
References value_print_options::addressprint, type::arch(), c_textual_element_type(), type::code(), common_val_print(), cp_is_vtbl_member(), current_language, demangle, value_print_options::format, gdb_printf(), gdb_puts(), lookup_minimal_symbol_by_pc(), lookup_symbol_search_name(), bound_minimal_symbol::minsym, paddress(), value_print_options::prettyformat, print_address_demangle(), print_function_pointer_address(), general_symbol_info::print_name(), print_spaces(), general_symbol_info::search_name(), block_symbol::symbol, value_print_options::symbol_print, symbol::type(), unpack_pointer(), val_print_string(), bound_minimal_symbol::value_address(), value_at(), VAR_DOMAIN, and value_print_options::vtblprint.
Referenced by c_value_print_array(), c_value_print_ptr(), m2_language::value_print_inner(), and pascal_language::value_print_inner().
|
static |
Definition at line 38 of file c-valprint.c.
References name.
Referenced by c_textual_element_type(), and c_value_print().
|
static |
Definition at line 120 of file c-valprint.c.
Referenced by c_value_print_inner().