diff options
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 50e99f48d1f..18dd3cd04f5 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -807,7 +807,7 @@ struct value * read_var_value (struct symbol *var, const struct block *var_block, struct frame_info *frame) { - const struct language_defn *lang = language_def (SYMBOL_LANGUAGE (var)); + const struct language_defn *lang = language_def (var->language ()); gdb_assert (lang != NULL); gdb_assert (lang->la_read_var_value != NULL); |