OSDN Git Service

* psymtab.c (expand_partial_symbol_tables): Use
authortromey <tromey>
Tue, 1 Mar 2011 03:16:58 +0000 (03:16 +0000)
committertromey <tromey>
Tue, 1 Mar 2011 03:16:58 +0000 (03:16 +0000)
ALL_OBJFILE_PSYMTABS.

gdb/ChangeLog
gdb/psymtab.c

index e0be521..00cff84 100644 (file)
@@ -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.
index a555665..6a0c563 100644 (file)
@@ -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);
     }