GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "valprint.h"
#include "language.h"
#include "typeprint.h"
#include "c-lang.h"
#include "m2-lang.h"
#include "target.h"
#include "cli/cli-style.h"
Go to the source code of this file.
Functions | |
static int | print_unpacked_pointer (struct type *type, CORE_ADDR address, CORE_ADDR addr, const struct value_print_options *options, struct ui_file *stream) |
static void | m2_print_array_contents (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options, int len) |
int | get_long_set_bounds (struct type *type, LONGEST *low, LONGEST *high) |
static void | m2_print_long_set (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream) |
static void | m2_print_unbounded_array (struct value *value, struct ui_file *stream, int recurse, const struct value_print_options *options) |
static void | print_variable_at_address (struct type *type, const gdb_byte *valaddr, struct ui_file *stream, int recurse, const struct value_print_options *options) |
Variables | |
static const struct generic_val_print_decorations | m2_decorations |
int get_long_set_bounds | ( | struct type * | type, |
LONGEST * | low, | ||
LONGEST * | high ) |
Definition at line 48 of file m2-valprint.c.
References type::bounds(), type::code(), dynamic_prop::const_val(), type::field(), range_bounds::high, range_bounds::low, type::num_fields(), field::type(), and TYPE_N_BASECLASSES.
Referenced by m2_long_set(), and m2_print_long_set().
|
static |
Definition at line 258 of file m2-valprint.c.
References value::address, check_typedef(), type::code(), current_language, value_print_options::format, gdb_printf(), language_defn::la_language, language_m2, type::length(), value::type(), val_print_string(), and value_print_array_elements().
Referenced by m2_print_unbounded_array().
|
static |
Definition at line 67 of file m2-valprint.c.
References check_typedef(), type::field(), fprintf_styled(), gdb_printf(), get_discrete_bounds(), get_long_set_bounds(), type::index_type(), field::loc_bitpos(), metadata_style, type::num_fields(), print_type_scalar(), range, cli_style_option::style(), field::type(), TYPE_N_BASECLASSES, and value_bit_index().
Referenced by m2_language::value_print_inner().
|
static |
Definition at line 159 of file m2-valprint.c.
References check_typedef(), value::contents_for_printing(), type::field(), gdb_printf(), field::loc_bitpos(), m2_print_array_contents(), type::target_type(), field::type(), value::type(), unpack_field_as_long(), unpack_pointer(), and value_at_lazy().
Referenced by m2_language::value_print_inner().
|
static |
Definition at line 184 of file m2-valprint.c.
References value_print_options::addressprint, type::arch(), check_typedef(), type::code(), value_print_options::format, gdb_puts(), type::length(), paddress(), print_function_pointer_address(), type::target_type(), and val_print_string().
|
static |
Definition at line 225 of file m2-valprint.c.
References type::arch(), check_typedef(), type::code(), common_val_print(), current_language, gdb_printf(), gdb_puts(), paddress(), type::target_type(), TYPE_CODE_UNDEF, unpack_pointer(), and value_at().
Referenced by m2_language::value_print_inner().
|
static |
Definition at line 286 of file m2-valprint.c.
Referenced by m2_language::value_print_inner().