GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "parser-defs.h"
#include "language.h"
#include "varobj.h"
#include "m2-lang.h"
#include "c-lang.h"
#include "valprint.h"
#include "gdbarch.h"
#include "m2-exp.h"
Go to the source code of this file.
Functions | |
struct value * | eval_op_m2_high (struct type *expect_type, struct expression *exp, enum noside noside, struct value *arg1) |
struct value * | eval_op_m2_subscript (struct type *expect_type, struct expression *exp, enum noside noside, struct value *arg1, struct value *arg2) |
static struct builtin_m2_type * | build_m2_types (struct gdbarch *gdbarch) |
const struct builtin_m2_type * | builtin_m2_type (struct gdbarch *gdbarch) |
Variables | |
static m2_language | m2_language_defn |
static const registry< gdbarch >::key< struct builtin_m2_type > | m2_type_data |
|
static |
Definition at line 280 of file m2-lang.c.
References builtin_m2_type::builtin_bool, builtin_m2_type::builtin_card, builtin_m2_type::builtin_char, builtin_m2_type::builtin_int, builtin_m2_type(), builtin_m2_type::builtin_real, gdbarch_float_bit(), gdbarch_float_format(), gdbarch_int_bit(), init_boolean_type(), init_character_type(), init_float_type(), and init_integer_type().
Referenced by builtin_m2_type().
const struct builtin_m2_type * builtin_m2_type | ( | struct gdbarch * | gdbarch | ) |
Definition at line 305 of file m2-lang.c.
References build_m2_types(), registry< T >::get(), m2_type_data, and registry< T >::set().
Referenced by build_m2_types(), and m2_language::language_arch_info().
struct value * eval_op_m2_high | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
struct value * | arg1 ) |
Definition at line 36 of file m2-lang.c.
References check_typedef(), coerce_ref(), EVAL_AVOID_SIDE_EFFECTS, type::field(), m2_is_unbounded_array(), field::type(), type, value::type(), value_cast(), and value_struct_elt().
Referenced by expr::m2_unop_high_operation::evaluate().
struct value * eval_op_m2_subscript | ( | struct type * | expect_type, |
struct expression * | exp, | ||
enum noside noside noside | , | ||
struct value * | arg1, | ||
struct value * | arg2 ) |
Definition at line 67 of file m2-lang.c.
References check_typedef(), type::code(), coerce_ref(), EVAL_AVOID_SIDE_EFFECTS, type::field(), value::lval(), m2_is_unbounded_array(), type::name(), type::target_type(), field::type(), type, value::type(), value_as_long(), value_cast(), value_ind(), value_ptradd(), value_struct_elt(), value_subscript(), and value::zero().
Referenced by expr::m2_binop_subscript_operation::evaluate().
|
static |
|
static |
Definition at line 302 of file m2-lang.c.
Referenced by builtin_m2_type().