From 4b2f86ef2a3962fdf86b9b0f266ce7180a43a6c8 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Fri, 14 Aug 2020 15:07:52 +0100 Subject: gdb: remove LA_ITERATE_OVER_SYMBOLS macro Replace the single use of the LA_ITERATE_OVER_SYMBOLS macro with the macro's definition, and delete the macro. There should be no user visible changes after this commit. gdb/ChangeLog: * language.h (LA_ITERATE_OVER_SYMBOLS): Delete. (iterate_over_file_blocks): Replace use of macro with the macros definition. --- gdb/linespec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/linespec.c') diff --git a/gdb/linespec.c b/gdb/linespec.c index b05b8ad..a5fd3af 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1209,7 +1209,7 @@ iterate_over_file_blocks for (block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab), STATIC_BLOCK); block != NULL; block = BLOCK_SUPERBLOCK (block)) - LA_ITERATE_OVER_SYMBOLS (block, name, domain, callback); + current_language->iterate_over_symbols (block, name, domain, callback); } /* A helper for find_method. This finds all methods in type T of -- cgit v1.1