* 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.
This commit is contained in:
parent
6b510f8feb
commit
be7d4f3f6d
1 changed files with 2 additions and 1 deletions
|
@ -529,7 +529,8 @@ pop_subfile ()
|
|||
}
|
||||
|
||||
|
||||
/* Manage the vector of line numbers for each subfile. */
|
||||
/* Add a linetable entry for line number LINE and address PC to the line
|
||||
vector for SUBFILE. */
|
||||
|
||||
void
|
||||
record_line (subfile, line, pc)
|
||||
|
|
Loading…
Add table
Reference in a new issue