diff options
Diffstat (limited to 'gdb/dwarf2/read.c')
-rw-r--r-- | gdb/dwarf2/read.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 83651f2..3053ec9 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -5301,7 +5301,8 @@ dwarf2_initialize_objfile (struct objfile *objfile) if (per_bfd->cooked_index_table != nullptr) { dwarf_read_debug_printf ("re-using cooked index table"); - objfile->qf.push_front (make_cooked_index_funcs ()); + objfile->qf.push_front + (per_bfd->cooked_index_table->make_quick_functions ()); return; } @@ -18682,6 +18683,12 @@ make_cooked_index_funcs () return quick_symbol_functions_up (new cooked_index_functions); } +quick_symbol_functions_up +cooked_index_vector::make_quick_functions () const +{ + return make_cooked_index_funcs (); +} + /* Read the .debug_loclists or .debug_rnglists header (they are the same format) |