aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-08-14 15:07:52 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-10-23 10:57:14 +0100
commit4b2f86ef2a3962fdf86b9b0f266ce7180a43a6c8 (patch)
tree9d3f458680a05d34aa7111c4e7a23afc64c7a33c /gdb/linespec.c
parente74b39ded0a18ee3aa1e84580f6856ec40568a07 (diff)
downloadbinutils-4b2f86ef2a3962fdf86b9b0f266ce7180a43a6c8.zip
binutils-4b2f86ef2a3962fdf86b9b0f266ce7180a43a6c8.tar.gz
binutils-4b2f86ef2a3962fdf86b9b0f266ce7180a43a6c8.tar.bz2
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.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
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