From 012cfab919e7da355b2ac7f86674211cbce26041 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sat, 20 Nov 2021 21:32:41 -0500 Subject: gdb: remove SYMTAB_BLOCKVECTOR macro Remove the macro, replace with an equivalent method. Change-Id: Id6fe2a79c04bcd6c69ccaefb7a69bc06a476288c --- gdb/ada-exp.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ada-exp.y') diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 16ba336..0d5083f 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -1302,7 +1302,7 @@ block_lookup (const struct block *context, const char *raw_name) symtab = NULL; if (symtab != NULL) - result = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab), STATIC_BLOCK); + result = BLOCKVECTOR_BLOCK (symtab->blockvector (), STATIC_BLOCK); else if (syms.empty () || SYMBOL_CLASS (syms[0].symbol) != LOC_BLOCK) { if (context == NULL) -- cgit v1.1