diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-19 20:25:55 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:06 -0700 |
commit | 548a89df2315322d51a6f961d46699663082b626 (patch) | |
tree | 94e04fda61f37c1610cefff911e968510eadef8b /gdb/buildsym.c | |
parent | a1b294260f4e43cfb7edb2a917accb82945ed310 (diff) | |
download | binutils-548a89df2315322d51a6f961d46699663082b626.zip binutils-548a89df2315322d51a6f961d46699663082b626.tar.gz binutils-548a89df2315322d51a6f961d46699663082b626.tar.bz2 |
Remove ALL_BLOCK_SYMBOLS
This removes ALL_BLOCK_SYMBOLS in favor of foreach.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index b76fef3..10b8fc6 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -997,7 +997,7 @@ buildsym_compunit::end_compunit_symtab_with_blockvector /* Note that we only want to fix up symbols from the local blocks, not blocks coming from included symtabs. That is why - we use ALL_DICT_SYMBOLS here and not ALL_BLOCK_SYMBOLS. */ + we use ALL_DICT_SYMBOLS here and not a block iterator. */ ALL_DICT_SYMBOLS (block->multidict (), miter, sym) if (sym->symtab () == NULL) sym->set_symtab (symtab); |