gdb: remove SYMBOL_CLASS macro, add getter
[binutils-gdb.git] / gdb / python / py-framefilter.c
index 708fcc535e20dec92380c2c57d1b0a171b6b9551..70fec4aad5dae0a50aca143f057884fc6e65ea62 100644 (file)
@@ -169,7 +169,7 @@ mi_should_print (struct symbol *sym, enum mi_print_types type)
 {
   int print_me = 0;
 
-  switch (SYMBOL_CLASS (sym))
+  switch (sym->aclass ())
     {
     default:
     case LOC_UNDEF:    /* catches errors        */