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 279 of file m2-lang.c.
References arch_boolean_type(), arch_character_type(), arch_float_type(), arch_integer_type(), builtin_m2_type::builtin_bool, builtin_m2_type::builtin_card, builtin_m2_type::builtin_char, builtin_m2_type::builtin_int, builtin_m2_type::builtin_real, gdbarch_float_bit(), gdbarch_float_format(), and gdbarch_int_bit().
Referenced by builtin_m2_type().
const struct builtin_m2_type * builtin_m2_type | ( | struct gdbarch * | gdbarch | ) |
Definition at line 302 of file m2-lang.c.
References build_m2_types(), registry< T >::get(), m2_type_data, and registry< T >::set().
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(), value::type, value_cast(), value_struct_elt(), and value_type().
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(), m2_is_unbounded_array(), type::name(), type::target_type(), field::type(), value::type, value_as_long(), value_cast(), value_ind(), VALUE_LVAL, value_ptradd(), value_struct_elt(), value_subscript(), value_type(), and value_zero().
Referenced by expr::m2_binop_subscript_operation::evaluate().
|
static |
|
static |
Definition at line 299 of file m2-lang.c.
Referenced by builtin_m2_type().