diff options
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r-- | gdb/linespec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c index 90e4c81..fd3fba8 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1234,7 +1234,7 @@ iterate_over_file_blocks for (block = BLOCKVECTOR_BLOCK (symtab->compunit ()->blockvector (), STATIC_BLOCK); block != NULL; - block = BLOCK_SUPERBLOCK (block)) + block = block->superblock ()) current_language->iterate_over_symbols (block, name, domain, callback); } @@ -3968,7 +3968,7 @@ find_label_symbols (struct linespec_state *self, for (; block && !block->function (); - block = BLOCK_SUPERBLOCK (block)) + block = block->superblock ()) ; if (!block) |