Properly track the size of the current objfile's .debug_line section.
authorJim Blandy <jimb@codesourcery.com>
Fri, 10 May 2002 17:03:25 +0000 (17:03 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 10 May 2002 17:03:25 +0000 (17:03 +0000)
commit9ab3e5325dfcddb59b4a081c7c6bc19c5ef88df8
tree52e33cfe84e23e2365f0766ceeaaf72bfd7e49fb
parent126fa72d9cd55419f87e547f5c6c17c91b28580b
Properly track the size of the current objfile's .debug_line section.
* dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size.
(DWARF_LINE_SIZE): New macro.
(dwarf2_build_psymtabs_hard): Record the line section's size in
the partial symbol table.
(psymtab_to_symtab_1): Restore dwarf_line_size from the partial
symbol table.
gdb/ChangeLog
gdb/dwarf2read.c