This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add end_psymtab_common
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 15 Aug 2015 22:11:42 -0700
- Subject: Re: [PATCH] Add end_psymtab_common
- Authentication-results: sourceware.org; auth=none
- References: <m3si8fzkbf dot fsf at sspiff dot org>
Doug Evans <xdje42@gmail.com> writes:
> Hi.
>
> This patch moves some common code into end_psymtab_common,
> and renamed end_psymtab to dbx_end_psymtab for consistency.
>
> Regression tested on amd64-linux.
>
> 2015-07-22 Doug Evans <xdje42@gmail.com>
>
> * dbxread.c (dbx_end_psymtab): Renamed from end_psymtab. All callers
> updated. Call end_psymtab_common.
> * dwarf2read.c (process_psymtab_comp_unit_reader): Call
> end_psymtab_common.
> (build_type_psymtabs_reader): Ditto.
> * psympriv.h (sort_pst_symbols): Delete.
> (end_psymtab_common): Declare.
> * psymtab.c (sort_pst_symbols): Make static.
> (end_psymtab_common): New function.
> * xcoffread.c (xcoff_end_psymtab): Call end_psymtab_common.
Committed.