Use an accessor function for general_symbol_info::language
[deliverable/binutils-gdb.git] / gdb / ft32-tdep.c
index bded02fae4bc4e880b49fb61159f08ddb6a65214..56c2165037b654c8e641d06d2afc0f68d85185e2 100644 (file)
@@ -299,7 +299,7 @@ ft32_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
          /* Found a function.  */
          sym = lookup_symbol (func_name, NULL, VAR_DOMAIN, NULL).symbol;
          /* Don't use line number debug info for assembly source files.  */
-         if ((sym != NULL) && SYMBOL_LANGUAGE (sym) != language_asm)
+         if ((sym != NULL) && sym->language () != language_asm)
            {
              sal = find_pc_line (func_addr, 0);
              if (sal.end && sal.end < func_end)
This page took 0.023714 seconds and 4 git commands to generate.