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:
2093702
)
* psymtab.c (expand_partial_symbol_tables): Use
author
Tom Tromey
<tromey@redhat.com>
Mon, 28 Feb 2011 18:16:59 +0000
(18:16 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Mon, 28 Feb 2011 18:16:59 +0000
(18:16 +0000)
ALL_OBJFILE_PSYMTABS.
gdb/ChangeLog
patch
|
blob
|
history
gdb/psymtab.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index e0be5211b42677df58e3239b4b38f337dde8cbe4..00cff84a9dd2f93e293517431e34a70c185fd549 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2011-02-28 Tom Tromey <tromey@redhat.com>
+
+ * psymtab.c (expand_partial_symbol_tables): Use
+ ALL_OBJFILE_PSYMTABS.
+
2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* objc-lang.c (selectors_info): Error on too long REGEXP.
diff --git
a/gdb/psymtab.c
b/gdb/psymtab.c
index a555665da53f44d8d1119ab27dc8238162f7385a..6a0c563648d38711af6f131387a2be5866f8e502 100644
(file)
--- a/
gdb/psymtab.c
+++ b/
gdb/psymtab.c
@@
-933,9
+933,7
@@
expand_partial_symbol_tables (struct objfile *objfile)
{
struct partial_symtab *psymtab;
- for (psymtab = objfile->psymtabs;
- psymtab != NULL;
- psymtab = psymtab->next)
+ ALL_OBJFILE_PSYMTABS (objfile, psymtab)
{
psymtab_to_symtab (psymtab);
}