GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | builtin_m2_type |
Functions | |
int | m2_parse (void) |
void | m2_error (char *) |
void | m2_print_type (struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *) |
void | m2_print_typedef (struct type *, struct symbol *, struct ui_file *) |
int | m2_is_long_set (struct type *type) |
int | m2_is_unbounded_array (struct type *type) |
void | m2_val_print (struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, const struct value *, const struct value_print_options *) |
int | get_long_set_bounds (struct type *type, LONGEST *low, LONGEST *high) |
struct builtin_m2_type * | builtin_m2_type (struct gdbarch *gdbarch) |
struct builtin_m2_type* builtin_m2_type | ( | struct gdbarch * | gdbarch | ) | [read] |
Definition at line 421 of file m2-lang.c.
References gdbarch_data().
Referenced by build_m2_types(), and m2_language_arch_info().
int get_long_set_bounds | ( | struct type * | type, |
LONGEST * | low, | ||
LONGEST * | high | ||
) |
Definition at line 49 of file m2-valprint.c.
References _, error(), len, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_FIELD_TYPE, TYPE_HIGH_BOUND, TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_N_BASECLASSES, and TYPE_NFIELDS.
Referenced by m2_long_set(), and m2_print_long_set().
void m2_error | ( | char * | ) |
int m2_is_long_set | ( | struct type * | type | ) |
Definition at line 334 of file m2-typeprint.c.
References len, LONGEST, range, TYPE_CODE, TYPE_CODE_SET, TYPE_CODE_STRUCT, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_HIGH_BOUND, TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_N_BASECLASSES, and TYPE_NFIELDS.
Referenced by m2_long_set(), and m2_val_print().
int m2_is_unbounded_array | ( | struct type * | type | ) |
Definition at line 488 of file m2-typeprint.c.
References TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_STRUCT, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, and TYPE_NFIELDS.
Referenced by evaluate_subexp_modula2(), m2_unbounded_array(), and m2_val_print().
void m2_print_type | ( | struct type * | , |
const char * | , | ||
struct ui_file * | , | ||
int | , | ||
int | , | ||
const struct type_print_options * | |||
) |
Definition at line 75 of file m2-typeprint.c.
References _, CHECK_TYPEDEF, fputs_filtered(), m2_array(), m2_enum(), m2_long_set(), m2_pointer(), m2_procedure(), m2_range(), m2_record_fields(), m2_ref(), m2_short_set(), m2_type_name(), m2_typedef(), m2_unbounded_array(), m2_union(), m2_unknown(), QUIT, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_ENUM, TYPE_CODE_ERROR, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, and wrap_here().
Referenced by m2_array(), m2_long_set(), m2_pointer(), m2_procedure(), m2_range(), m2_record_fields(), m2_ref(), m2_typedef(), and m2_unbounded_array().
void m2_print_typedef | ( | struct type * | , |
struct symbol * | , | ||
struct ui_file * | |||
) |
Definition at line 163 of file m2-typeprint.c.
References CHECK_TYPEDEF, fprintf_filtered(), SYMBOL_LINKAGE_NAME, SYMBOL_PRINT_NAME, SYMBOL_TYPE, TYPE_NAME, and type_print().
void m2_val_print | ( | struct type * | , |
const gdb_byte * | , | ||
int | , | ||
CORE_ADDR | , | ||
struct ui_file * | , | ||
int | , | ||
const struct value * | , | ||
const struct value_print_options * | |||
) |
Definition at line 311 of file m2-valprint.c.
References _, check_typedef(), CHECK_TYPEDEF, cp_print_value_fields(), current_language, value_print_options::format, fprintf_filtered(), fputs_filtered(), gdb_flush(), generic_val_print(), get_discrete_bounds(), get_type_arch(), language_defn::la_language, LA_PRINT_STRING, language_m2, len, LONGEST, m2_is_long_set(), m2_is_unbounded_array(), m2_print_long_set(), m2_print_unbounded_array(), m2_val_print(), value_print_options::prettyformat_arrays, print_spaces_filtered(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), value_print_options::stop_print_at_null, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_ERROR, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_STRUCT, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_CONST, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_STUB, TYPE_TARGET_TYPE, value_print_options::unionprint, unpack_pointer(), val_print_array_elements(), val_print_scalar_formatted(), and value_bit_index().
Referenced by m2_val_print().