diff options
Diffstat (limited to 'gdb/dstread.c')
-rw-r--r-- | gdb/dstread.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/dstread.c b/gdb/dstread.c index 6fbd2fe..23e46ed 100644 --- a/gdb/dstread.c +++ b/gdb/dstread.c @@ -349,7 +349,13 @@ dst_symfile_read (objfile, section_offsets, mainline) /* Sort symbols alphabetically within each block. */ - sort_all_symtab_syms (); + { + struct symtab *s; + for (s = objfile -> symtabs; s != NULL; s = s -> next) + { + sort_symtab_syms (s); + } + } /* Install any minimal symbols that have been collected as the current minimal symbols for this objfile. */ |