diff options
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 3ecdf18..4d22f94 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -2079,7 +2079,10 @@ xcoff_symfile_read (objfile, section_offset, mainline) free_debugsection (); /* Sort symbols alphabetically within each block. */ - sort_all_symtab_syms (); + 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. */ |