aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hpread.c')
-rw-r--r--gdb/hpread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c
index 3e2179a..f955fb9 100644
--- a/gdb/hpread.c
+++ b/gdb/hpread.c
@@ -2711,6 +2711,7 @@ hpread_psymtab_to_symtab_1 (struct partial_symtab *pst)
hpread_expand_symtab (pst->objfile, LDSYMOFF (pst), LDSYMLEN (pst),
pst->textlow, pst->texthigh - pst->textlow,
pst->section_offsets, pst->filename);
+ sort_symtab_syms (pst->symtab);
do_cleanups (old_chain);
}