* psymtab.c (map_symbol_filenames_psymtab): Skip shared psymtabs.

This commit is contained in:
Doug Evans 2012-07-12 21:16:09 +00:00
parent 93c0ef3768
commit f80c6f3fc1
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-07-12 Doug Evans <dje@google.com>
* psymtab.c (map_symbol_filenames_psymtab): Skip shared psymtabs.
2012-07-10 Doug Evans <dje@google.com>
PR gdb/13498

View File

@ -1159,6 +1159,11 @@ map_symbol_filenames_psymtab (struct objfile *objfile,
if (ps->readin)
continue;
/* We can skip shared psymtabs here, because any file name will be
attached to the unshared psymtab. */
if (ps->user != NULL)
continue;
/* Anonymous psymtabs don't have a file name. */
if (ps->anonymous)
continue;