This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] dwarf2read.c: Don't read pc/line-number mapping for type units


> Appended is what I committed to trunk.
> I think it's fine.
[...]
> The memory space reduction is substantial so I'd like to get this in 7.4.
> [the reduction only kicks in for .debug_types, btw]
> 
> 2012-01-10  Doug Evans  <dje@google.com>
> 
>         * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd".  New arg
>         "want_line_info".  All callers updated.
>         (dwarf_decode_lines_1): New function.
>         (handle_DW_AT_stmt_list): Add function comment.
>         New arg "want_line_info".  All callers updated.
>         (read_file_scope,read_type_unit_scope): Move comment from
>         handle_DW_AT_stmt_list to here.

If the gain is substantial, and you think it's fine, then no objection
on my end.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]