aboutsummaryrefslogtreecommitdiff
path: root/gdb/dstread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-16 20:29:03 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-16 20:29:03 +0000
commit6e03b2b87e83ccc6322a6dd2cc135023041de194 (patch)
treec90218d6154dfa2f4e4674e833b80ec616cd5bb5 /gdb/dstread.c
parentf0c84683873dbad8b3eb99367474c6c456590b47 (diff)
downloadgdb-6e03b2b87e83ccc6322a6dd2cc135023041de194.zip
gdb-6e03b2b87e83ccc6322a6dd2cc135023041de194.tar.gz
gdb-6e03b2b87e83ccc6322a6dd2cc135023041de194.tar.bz2
* a68v-nat.c: Replace with new version from Troy Rollo. The
version I am replacing appears to be an old copy of sun3-nat.c. * dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call with loop.
Diffstat (limited to 'gdb/dstread.c')
-rw-r--r--gdb/dstread.c8
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. */