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 /gdb/psymtab.c | |
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.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); } |