diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-18 09:41:45 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-18 09:41:45 -0800 |
commit | 439247b656ce3bcfaa00fec7dbce70e65ca17cf5 (patch) | |
tree | 77c74536096399e6793f6e90e0ddd3b57e3c8bbd /gdb/linespec.c | |
parent | 4d663531f209bcbd7209ef2f1a02e0b0d4e7385a (diff) | |
download | gdb-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/linespec.c')
-rw-r--r-- | gdb/linespec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c index 5325702..bcfcc2a 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1042,9 +1042,10 @@ iterate_over_all_matching_symtabs (struct linespec_state *state, int i; for (i = FIRST_LOCAL_BLOCK; - i < BLOCKVECTOR_NBLOCKS (BLOCKVECTOR (symtab)); i++) + i < BLOCKVECTOR_NBLOCKS (SYMTAB_BLOCKVECTOR (symtab)); + i++) { - block = BLOCKVECTOR_BLOCK (BLOCKVECTOR (symtab), i); + block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab), i); state->language->la_iterate_over_symbols (block, name, domain, iterate_inline_only, &cad); } @@ -1081,7 +1082,7 @@ iterate_over_file_blocks (struct symtab *symtab, { struct block *block; - for (block = BLOCKVECTOR_BLOCK (BLOCKVECTOR (symtab), STATIC_BLOCK); + for (block = BLOCKVECTOR_BLOCK (SYMTAB_BLOCKVECTOR (symtab), STATIC_BLOCK); block != NULL; block = BLOCK_SUPERBLOCK (block)) LA_ITERATE_OVER_SYMBOLS (block, name, domain, callback, data); |