projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c0ef3
)
* psymtab.c (map_symbol_filenames_psymtab): Skip shared psymtabs.
author
Doug Evans
<dje@google.com>
Thu, 12 Jul 2012 21:16:09 +0000
(21:16 +0000)
committer
Doug Evans
<dje@google.com>
Thu, 12 Jul 2012 21:16:09 +0000
(21:16 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/psymtab.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 7f2bfb3dfce7a948fd7dd18b20829f0700f50038..4b78b31bd62de8546c0c78171e3ced07aef05a40 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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
diff --git
a/gdb/psymtab.c
b/gdb/psymtab.c
index 6e84094758767355b36282e120aaa80f8612892d..5623e2dc5f8ba30d6b1aa52cb6c9fa3579855d70 100644
(file)
--- a/
gdb/psymtab.c
+++ b/
gdb/psymtab.c
@@
-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;