/* Modula 2 language support routines for GDB, the GNU debugger.
- Copyright (C) 1992-2013 Free Software Foundation, Inc.
+ Copyright (C) 1992-2015 Free Software Foundation, Inc.
This file is part of GDB.
{"MIN", UNOP_MIN, PREC_BUILTIN_FUNCTION, 0},
{"ODD", UNOP_ODD, PREC_BUILTIN_FUNCTION, 0},
{"TRUNC", UNOP_TRUNC, PREC_BUILTIN_FUNCTION, 0},
- {NULL, 0, 0, 0}
+ {NULL, OP_NULL, PREC_BUILTIN_FUNCTION, 0}
};
\f
/* The built-in types of Modula-2. */
const struct language_defn m2_language_defn =
{
"modula-2",
+ "Modula-2",
language_m2,
range_check_on,
case_sensitive_on,
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&default_varobj_ops,
+ NULL,
+ NULL,
LANG_MAGIC
};
const struct builtin_m2_type *
builtin_m2_type (struct gdbarch *gdbarch)
{
- return gdbarch_data (gdbarch, m2_type_data);
+ return (const struct builtin_m2_type *) gdbarch_data (gdbarch, m2_type_data);
}