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/infcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/infcmd.c') diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 994dd5b..b02040f 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -976,7 +976,7 @@ prepare_one_step (thread_info *tp, struct step_command_fsm *sm) if (inline_skipped_frames (tp) > 0) { symbol *sym = inline_skipped_symbol (tp); - if (SYMBOL_CLASS (sym) == LOC_BLOCK) + if (sym->aclass () == LOC_BLOCK) { const block *block = SYMBOL_BLOCK_VALUE (sym); if (BLOCK_END (block) < tp->control.step_range_end) -- cgit v1.1