aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-18 09:41:45 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-18 09:41:45 -0800
commit439247b656ce3bcfaa00fec7dbce70e65ca17cf5 (patch)
tree77c74536096399e6793f6e90e0ddd3b57e3c8bbd /gdb/block.c
parent4d663531f209bcbd7209ef2f1a02e0b0d4e7385a (diff)
downloadgdb-439247b656ce3bcfaa00fec7dbce70e65ca17cf5.zip
gdb-439247b656ce3bcfaa00fec7dbce70e65ca17cf5.tar.gz
gdb-439247b656ce3bcfaa00fec7dbce70e65ca17cf5.tar.bz2
symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses updated.
gdb/ChangeLog: * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses updated.
Diffstat (limited to 'gdb/block.c')
-rw-r--r--gdb/block.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/block.c b/gdb/block.c
index 1cb9875..83a091c 100644
--- a/gdb/block.c
+++ b/gdb/block.c
@@ -169,7 +169,7 @@ blockvector_for_pc_sect (CORE_ADDR pc, struct obj_section *section,
return 0;
}
- bl = BLOCKVECTOR (symtab);
+ bl = SYMTAB_BLOCKVECTOR (symtab);
/* Then search that symtab for the smallest block that wins. */
b = find_block_in_blockvector (bl, pc);
@@ -504,7 +504,8 @@ block_iterator_step (struct block_iterator *iterator, int first)
if (symtab == NULL)
return NULL;
- block = BLOCKVECTOR_BLOCK (BLOCKVECTOR (symtab), iterator->which);
+ block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab),
+ iterator->which);
sym = dict_iterator_first (BLOCK_DICT (block), &iterator->dict_iter);
}
else
@@ -569,7 +570,8 @@ block_iter_name_step (struct block_iterator *iterator, const char *name,
if (symtab == NULL)
return NULL;
- block = BLOCKVECTOR_BLOCK (BLOCKVECTOR (symtab), iterator->which);
+ block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab),
+ iterator->which);
sym = dict_iter_name_first (BLOCK_DICT (block), name,
&iterator->dict_iter);
}
@@ -638,7 +640,8 @@ block_iter_match_step (struct block_iterator *iterator,
if (symtab == NULL)
return NULL;
- block = BLOCKVECTOR_BLOCK (BLOCKVECTOR (symtab), iterator->which);
+ block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab),
+ iterator->which);
sym = dict_iter_match_first (BLOCK_DICT (block), name,
compare, &iterator->dict_iter);
}