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: Simplify process_psymtab_comp_unit.


On Thu, Jan 5, 2012 at 8:42 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Doug" == Doug Evans <dje@google.com> writes:
>
> Doug> This patch simplifies process_psymtab_comp_unit and
> Doug> dwarf2_build_psymtabs_hard.
>
> Doug> I will check this in in a few days if there are no objections.
>
> Looks good to me.
>
> Tom

Thanks.  Here is what I committed.

2012-01-06  Doug Evans  <dje@google.com>

        * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
        to top of file.
        (dwarf2_find_comp_unit): Delete.
        (process_psymtab_comp_unit): Make result "void".
        Delete args buffer, info_ptr, buffer_size, and replace with
        "section".  All callers updated.
        (dwarf2_build_psymtabs_hard): Simplify.

Attachment: gdb-120106-process-psymtab-comp-unit-2.patch.txt
Description: Text document


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