summaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/language.h b/gdb/language.h
index a2a970e192b..414488ddfbd 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -176,9 +176,6 @@ struct language_data
/* Table for printing expressions. */
const struct op_print *la_op_print_tab;
-
- /* Various operations on varobj. */
- const struct lang_varobj_ops *la_varobj_ops;
};
/* Base class from which all other language classes derive. */
@@ -565,6 +562,11 @@ struct language_defn : language_data
virtual enum macro_expansion macro_expansion () const
{ return macro_expansion_no; }
+ /* Return a structure containing various operations on varobj specific
+ for this language. */
+
+ virtual const struct lang_varobj_ops *varobj_ops () const;
+
protected:
/* This is the overridable part of the GET_SYMBOL_NAME_MATCHER method.