From 477d0d57b01456232d6fe790758cf17aa2409c28 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 28 Feb 2011 18:16:59 +0000 Subject: [PATCH] * psymtab.c (expand_partial_symbol_tables): Use ALL_OBJFILE_PSYMTABS. --- gdb/ChangeLog | 5 +++++ gdb/psymtab.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) 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); } -- 2.30.2