diff options
Diffstat (limited to 'gdb/dwarf2/read.c')
-rw-r--r-- | gdb/dwarf2/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index cd3e6af..0d78c24 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -4451,8 +4451,8 @@ recursively_find_pc_sect_compunit_symtab (struct compunit_symtab *cust, { int i; - if (COMPUNIT_BLOCKVECTOR (cust) != NULL - && blockvector_contains_pc (COMPUNIT_BLOCKVECTOR (cust), pc)) + if (cust->blockvector () != nullptr + && blockvector_contains_pc (cust->blockvector (), pc)) return cust; if (cust->includes == NULL) |