]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/mips-tdep.c
gdb: remove SYMBOL_CLASS macro, add getter
[thirdparty/binutils-gdb.git] / gdb / mips-tdep.c
index 1c080bbe50fe208831fb48694ccae05c79cdd742..5cd72ae245115b3a57c6e39ec73af4091d456bc1 100644 (file)
@@ -483,7 +483,7 @@ msymbol_is_micromips (struct minimal_symbol *msym)
 static void
 mips_make_symbol_special (struct symbol *sym, struct objfile *objfile)
 {
-  if (SYMBOL_CLASS (sym) == LOC_BLOCK)
+  if (sym->aclass () == LOC_BLOCK)
     {
       /* We are in symbol reading so it is OK to cast away constness.  */
       struct block *block = (struct block *) SYMBOL_BLOCK_VALUE (sym);