Use an accessor function for general_symbol_info::language
[deliverable/binutils-gdb.git] / gdb / xstormy16-tdep.c
index 9b8b7e2864fa1fa527fe3316ef8375389b6caf7a..52a6f3e2aa786a2032d18f1d5c688fcce551c044 100644 (file)
@@ -430,7 +430,7 @@ xstormy16_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 && SYMBOL_LANGUAGE (sym) != language_asm)
+      if (sym && sym->language () != language_asm)
        {
          sal = find_pc_line (func_addr, 0);
          if (sal.end && sal.end < func_end)
This page took 0.024939 seconds and 4 git commands to generate.