gdb: remove SYMBOL_CLASS macro, add getter
Change-Id: I83211d5a47efc0564386e5b5ea4a29c00b1fd46a
This commit is contained in:
parent
d1eebf9a6f
commit
66d7f48f80
42 changed files with 147 additions and 144 deletions
|
@ -1501,7 +1501,7 @@ cp_lookup_rtti_type (const char *name, const struct block *block)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (SYMBOL_CLASS (rtti_sym) != LOC_TYPEDEF)
|
||||
if (rtti_sym->aclass () != LOC_TYPEDEF)
|
||||
{
|
||||
warning (_("RTTI symbol for class '%s' is not a type"), name);
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue