aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.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/dwarf2read.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/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index bb1bffb..5860c57 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3615,7 +3615,7 @@ dw2_lookup_symbol (struct objfile *objfile, int block_index,
{
struct symbol *sym = NULL;
struct symtab *stab = dw2_instantiate_symtab (per_cu);
- const struct blockvector *bv = BLOCKVECTOR (stab);
+ const struct blockvector *bv = SYMTAB_BLOCKVECTOR (stab);
struct block *block = BLOCKVECTOR_BLOCK (bv, block_index);
/* Some caution must be observed with overloaded functions
@@ -3970,8 +3970,8 @@ recursively_find_pc_sect_symtab (struct symtab *symtab, CORE_ADDR pc)
{
int i;
- if (BLOCKVECTOR (symtab) != NULL
- && blockvector_contains_pc (BLOCKVECTOR (symtab), pc))
+ if (SYMTAB_BLOCKVECTOR (symtab) != NULL
+ && blockvector_contains_pc (SYMTAB_BLOCKVECTOR (symtab), pc))
return symtab;
if (symtab->includes == NULL)