forked from Imagelibrary/binutils-gdb
gdb: remove SYMBOL_CLASS macro, add getter
Change-Id: I83211d5a47efc0564386e5b5ea4a29c00b1fd46a
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user