This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Move dwarf2read.c:build_type_unit_groups closer to only user.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 19 May 2014 16:12:09 -0700
- Subject: Re: [PATCH] Move dwarf2read.c:build_type_unit_groups closer to only user.
- Authentication-results: sourceware.org; auth=none
- References: <yjt2r43u3lmo dot fsf at ruffy dot mtv dot corp dot google dot com>
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.