diff options
Diffstat (limited to 'gdb/expop.h')
-rw-r--r-- | gdb/expop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/expop.h b/gdb/expop.h index 279774c..58863b8 100644 --- a/gdb/expop.h +++ b/gdb/expop.h @@ -482,7 +482,7 @@ check_constant (ULONGEST cst) static inline bool check_constant (struct symbol *sym) { - enum address_class sc = SYMBOL_CLASS (sym); + enum address_class sc = sym->aclass (); return (sc == LOC_BLOCK || sc == LOC_CONST || sc == LOC_CONST_BYTES |