diff options
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 814023e894a..e463fff0bc8 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -397,7 +397,8 @@ find_pc_sect_symtab_from_partial (struct objfile *objfile, warning (_("\ (Internal error: pc %s in read in psymtab, but not in symtab.)\n"), paddress (get_objfile_arch (ps->objfile), pc)); - return psymtab_to_symtab (ps); + psymtab_to_symtab (ps); + return ps->symtab; } return NULL; } |