diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-09-02 00:24:46 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-09-02 00:24:46 +0000 |
commit | be7d4f3f6dead60b99253c8a60341b3863d93099 (patch) | |
tree | 0692d43235a3681c27cd7b7600ba33a624948494 /gdb/buildsym.c | |
parent | 6b510f8feb52a4702b0b260fc7065645c539dcb6 (diff) | |
download | gdb-be7d4f3f6dead60b99253c8a60341b3863d93099.zip gdb-be7d4f3f6dead60b99253c8a60341b3863d93099.tar.gz gdb-be7d4f3f6dead60b99253c8a60341b3863d93099.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index be13a9c..4ba512f 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -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) |