From: Tom Tromey Date: Mon, 28 Feb 2011 18:16:59 +0000 (+0000) Subject: * psymtab.c (expand_partial_symbol_tables): Use X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=477d0d57b01456232d6fe790758cf17aa2409c28;p=binutils-gdb.git * psymtab.c (expand_partial_symbol_tables): Use ALL_OBJFILE_PSYMTABS. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e0be5211b42..00cff84a9dd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-02-28 Tom Tromey + + * psymtab.c (expand_partial_symbol_tables): Use + ALL_OBJFILE_PSYMTABS. + 2011-02-28 Jan Kratochvil * objc-lang.c (selectors_info): Error on too long REGEXP. diff --git a/gdb/psymtab.c b/gdb/psymtab.c index a555665da53..6a0c563648d 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); }