* symtab.c (find_pc_line, find_line_common),
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Sep 1993 00:24:46 +0000 (00:24 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Sep 1993 00:24:46 +0000 (00:24 +0000)
commitbe7d4f3f6dead60b99253c8a60341b3863d93099
tree0692d43235a3681c27cd7b7600ba33a624948494
parent6b510f8feb52a4702b0b260fc7065645c539dcb6
* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

* buildsym.c (end_symtab): Don't realloc subfile->linetable.
gdb/buildsym.c