aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-support.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-11-21 22:26:24 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-02-06 16:03:46 -0500
commit66d7f48f8045adf266046df7ceb84161d5678cfa (patch)
tree473af71237afd358293f506901cdb13372d8dd72 /gdb/cp-support.c
parentd1eebf9a6f02786eb0d5f6b961b8d692d23e77b1 (diff)
downloadgdb-66d7f48f8045adf266046df7ceb84161d5678cfa.zip
gdb-66d7f48f8045adf266046df7ceb84161d5678cfa.tar.gz
gdb-66d7f48f8045adf266046df7ceb84161d5678cfa.tar.bz2
gdb: remove SYMBOL_CLASS macro, add getter
Change-Id: I83211d5a47efc0564386e5b5ea4a29c00b1fd46a
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r--gdb/cp-support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c
index 028ff0f..f146183 100644
--- a/gdb/cp-support.c
+++ b/gdb/cp-support.c
@@ -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;