* psymtab.c (expand_partial_symbol_tables): Use
authorTom Tromey <tromey@redhat.com>
Mon, 28 Feb 2011 18:16:59 +0000 (18:16 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 28 Feb 2011 18:16:59 +0000 (18:16 +0000)
ALL_OBJFILE_PSYMTABS.

gdb/ChangeLog
gdb/psymtab.c

index e0be5211b42677df58e3239b4b38f337dde8cbe4..00cff84a9dd2f93e293517431e34a70c185fd549 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 a555665da53f44d8d1119ab27dc8238162f7385a..6a0c563648d38711af6f131387a2be5866f8e502 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);
     }
This page took 0.147285 seconds and 4 git commands to generate.