aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile/compile-object-load.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-11-20 21:32:41 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-02-06 16:03:46 -0500
commit012cfab919e7da355b2ac7f86674211cbce26041 (patch)
treeda86dca9362d26fd408ce24b08dd8679a6c91769 /gdb/compile/compile-object-load.c
parent1ee2e9f9304d05f2962bbc4b83096b850fe4e433 (diff)
downloadgdb-012cfab919e7da355b2ac7f86674211cbce26041.zip
gdb-012cfab919e7da355b2ac7f86674211cbce26041.tar.gz
gdb-012cfab919e7da355b2ac7f86674211cbce26041.tar.bz2
gdb: remove SYMTAB_BLOCKVECTOR macro
Remove the macro, replace with an equivalent method. Change-Id: Id6fe2a79c04bcd6c69ccaefb7a69bc06a476288c
Diffstat (limited to 'gdb/compile/compile-object-load.c')
-rw-r--r--gdb/compile/compile-object-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c
index 336e8d3..692e990 100644
--- a/gdb/compile/compile-object-load.c
+++ b/gdb/compile/compile-object-load.c
@@ -421,7 +421,7 @@ get_out_value_type (struct symbol *func_sym, struct objfile *objfile,
lookup_name_info func_matcher (GCC_FE_WRAPPER_FUNCTION,
symbol_name_match_type::SEARCH_NAME);
- bv = SYMTAB_BLOCKVECTOR (func_sym->owner.symtab);
+ bv = func_sym->owner.symtab->blockvector ();
nblocks = BLOCKVECTOR_NBLOCKS (bv);
gdb_ptr_type_sym = NULL;