This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] dwarf2read.c type unit groups cleanup
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Cc: Cary Coutant <ccoutant at google dot com>
- Date: Mon, 19 May 2014 12:53:55 -0700
- Subject: Re: [PATCH] dwarf2read.c type unit groups cleanup
- Authentication-results: sourceware.org; auth=none
- References: <yjt2wqdm3owj dot fsf at ruffy dot mtv dot corp dot google dot com>
On Thu, May 15, 2014 at 10:58 AM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This patch removes some no longer used members of dwarf2_per_objfile,
> and does a few other simple cleanups.
> There's a few more cleanups that can be done on top of this,
> but I'm leaving them for a separate pass.
>
> I have another patch coming that adds support for skeleton-less type
> units (Fission), and this is preparatory work for that.
>
> Regression tested on amd64-linux.
>
> 2014-05-15 Doug Evans <dje@google.com>
>
> * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
> n_type_unit_groups, all_type_unit_groups. All uses removed.
> (get_type_unit_group, build_type_unit_groups): Delete forward decls.
> (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
> (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
> (add_type_unit_group_to_table): Delete.
Committed.