* varobj.c (struct language_specific) <language>: Remove.
(languages): Update the initialization.
+2013-10-01 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (struct language_specific) <language>: Remove.
+ (languages): Update the initialization.
+
2013-10-01 Yao Qi <yao@codesourcery.com>
* arm-wince-tdep.c: Remove inclusion of "solib.h" and
struct language_specific
{
-
- /* The language of this variable. */
- enum varobj_languages language;
-
/* The number of children of PARENT. */
int (*number_of_children) (struct varobj * parent);
static struct language_specific languages[vlang_end] = {
/* Unknown (try treating as C). */
{
- vlang_unknown,
c_number_of_children,
c_name_of_variable,
c_name_of_child,
,
/* C */
{
- vlang_c,
c_number_of_children,
c_name_of_variable,
c_name_of_child,
,
/* C++ */
{
- vlang_cplus,
cplus_number_of_children,
cplus_name_of_variable,
cplus_name_of_child,
,
/* Java */
{
- vlang_java,
java_number_of_children,
java_name_of_variable,
java_name_of_child,
NULL /* value_has_mutated */},
/* Ada */
{
- vlang_ada,
ada_number_of_children,
ada_name_of_variable,
ada_name_of_child,