From 66d7f48f8045adf266046df7ceb84161d5678cfa Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sun, 21 Nov 2021 22:26:24 -0500 Subject: gdb: remove SYMBOL_CLASS macro, add getter Change-Id: I83211d5a47efc0564386e5b5ea4a29c00b1fd46a --- gdb/cp-support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/cp-support.c') 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; -- cgit v1.1