diff options
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r-- | gdb/cp-support.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 025b4de..8419a19 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -1140,14 +1140,12 @@ static void make_symbol_overload_list_block (const char *name, const struct block *block) { - struct dict_iterator iter; + struct block_iterator iter; struct symbol *sym; - const struct dictionary *dict = BLOCK_DICT (block); - - for (sym = dict_iter_name_first (dict, name, &iter); + for (sym = block_iter_name_first (block, name, &iter); sym != NULL; - sym = dict_iter_name_next (name, &iter)) + sym = block_iter_name_next (name, &iter)) overload_list_add_symbol (sym, name); } |