* symtab.h (struct linetable), xcoffread.c (arrange_linetable):
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 1 Sep 1993 21:15:27 +0000 (21:15 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 1 Sep 1993 21:15:27 +0000 (21:15 +0000)
commitc438b3af2a58c099512730b460c9298149548de6
treebc31f63bdeb179b91e5e9f4d1f32e22bc8e418fd
parentade40d3153e344521d48bddf744bc2b8a1792d06
* 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/ChangeLog
gdb/buildsym.c
gdb/coffread.c
gdb/symtab.h
gdb/xcoffread.c