[PATCH] Move dwarf2read.c:build_type_unit_groups closer to only user.

Doug Evans dje@google.com
Mon May 19 23:12:00 GMT 2014


On Thu, May 15, 2014 at 12:08 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This is another cleanup patch.
> There is only one caller of build_type_unit_groups now.
> This patch moves it closer to its only user and renames it.
>
> 2014-05-15  Doug Evans  <dje@google.com>
>
>         * dwarf2read.c (build_type_psymtabs_1): Renamed from
>         build_type_unit_groups and moved closer to only caller.  Remove
>         arguments.  All references updated.  Remove outdated .gdb_index
>         comment.
>         (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
>         build_type_psymtabs_1.

Committed.



More information about the Gdb-patches mailing list