diff options
Diffstat (limited to 'gdb/ctfread.c')
-rw-r--r-- | gdb/ctfread.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ctfread.c b/gdb/ctfread.c index 7713500..616464c 100644 --- a/gdb/ctfread.c +++ b/gdb/ctfread.c @@ -1546,7 +1546,9 @@ elfctf_build_psymtabs (struct objfile *of) bfd_get_filename (abfd), ctf_errmsg (err)); ctf_dict_key.emplace (of, fp); - psymtab_storage *partial_symtabs = of->partial_symtabs.get (); + psymbol_functions *psf = new psymbol_functions (); + psymtab_storage *partial_symtabs = psf->get_partial_symtabs ().get (); + of->qf.emplace_front (psf); scan_partial_symbols (fp, partial_symtabs, of); } |