* buildsym.c: Break out initial malloc sizes.
authorJohn Gilmore <gnu@cygnus>
Sun, 27 Oct 1991 22:26:02 +0000 (22:26 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 27 Oct 1991 22:26:02 +0000 (22:26 +0000)
commit4137c5fc0d1b24d00ceec0981ea5d9da77477f0e
tree1d01de4d5f225bdcd8cc81ac88c4cc022a7c7ba2
parent9439f48f4c52cd82eca522aea847e0a330568235
* buildsym.c:  Break out initial malloc sizes.
(record_line):  Record directly in a subfile.  Alloc on demand.
(compare_line_numbers):  Add from xcoffread.c.
(end_symtab):  New params say whether to sort pendings and
linetable.  Patch block stabs if defined.  Shrink linetable before
allocating the symtab.
* buildsym.h:  Delete line_vector* and prev_line_number.  Add
global_stabs and file_stabs for xcoffread.
* dbxread.c (start_subfile):  Move to buildsym.  Change above calls.
* symtab.h:  LINETABLE(symtab) can now be null.  Zap LINELIST.
* symmisc.c, symtab.c:  Cope with null LINETABLEs.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/dbxread.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h