Use an accessor function for general_symbol_info::language
[deliverable/binutils-gdb.git] / gdb / ax-gdb.c
index 848958706437511606f265688a745462b108ba3e..d25413ea1f2f15ac1d05353865a9425e4c088b7b 100644 (file)
@@ -2230,7 +2230,7 @@ gen_expr (struct expression *exp, union exp_element **pc,
 
        b = block_for_pc (ax->scope);
        func = block_linkage_function (b);
-       lang = language_def (SYMBOL_LANGUAGE (func));
+       lang = language_def (func->language ());
 
        sym = lookup_language_this (lang, b).symbol;
        if (!sym)
This page took 0.025278 seconds and 4 git commands to generate.