* dwarf2read.c (line_header): Add new included_p field in
authorJoel Brobecker <brobecker@gnat.com>
Mon, 3 May 2004 16:21:51 +0000 (16:21 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 3 May 2004 16:21:51 +0000 (16:21 +0000)
commitaaa75496b07d9981304d687795fc8953ba424de3
treeb96defcbe472811df82f8a1fc4929c20dec86e67
parent6a8d1586d12c10e7ca825c408d4fba5b226807a2
    * dwarf2read.c (line_header): Add new included_p field in
        field file_names.
        (partial_die_info): New field has_stmt_list. New field line_offset.
        (dwarf2_create_include_psymtab): New function.
        (dwarf2_build_include_psymtabs): New function.
        (add_file_name): Add forward declaration. Initialize new field.
        (dwarf_decode_lines): Add new parameter. Enhance this procedure
        to be able to determine the list of files included by the
        given unit, and build their associated psymtabs.
        (dwarf2_build_psymtabs_hard): Build the psymtabs for the included
        files as well.
        (psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
        (read_file_scope): Update call to dwarf_decode_lines.
        (read_partial_die): Handle DW_AT_stmt_list attributes.
gdb/ChangeLog
gdb/dwarf2read.c