diff options
author | Tom Tromey <tromey@redhat.com> | 2011-02-28 18:16:59 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-02-28 18:16:59 +0000 |
commit | 477d0d57b01456232d6fe790758cf17aa2409c28 (patch) | |
tree | 75b76ec14c7f787e11928fec55f87d559488f4a8 | |
parent | 20937029912db1c246399ecf93fecae4117eeadf (diff) | |
download | gdb-477d0d57b01456232d6fe790758cf17aa2409c28.zip gdb-477d0d57b01456232d6fe790758cf17aa2409c28.tar.gz gdb-477d0d57b01456232d6fe790758cf17aa2409c28.tar.bz2 |
* psymtab.c (expand_partial_symbol_tables): Use
ALL_OBJFILE_PSYMTABS.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/psymtab.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e0be521..00cff84 100644 --- 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 a555665..6a0c563 100644 --- 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); } |