OSDN Git Service

* 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)
commit472ff4c7a0aa3ae6903ba121c7694613f70d624a
tree9816371869fe4f5903fd3888dbb3aa95abdb8647
parent4d406154114d3084820d3a77e103cc2ea1615b4e
    * 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