This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make naming of psymtab "quick" fns more consistent.
- From: Doug Evans <xdje42 at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Sat, 13 Dec 2014 10:37:06 -0800
- Subject: Re: [PATCH] Make naming of psymtab "quick" fns more consistent.
- Authentication-results: sourceware.org; auth=none
- References: <m34mt348kn dot fsf at sspiff dot org>
On Wed, Dec 10, 2014 at 11:18 AM, Doug Evans <xdje42@gmail.com> wrote:
> Hi.
>
> psymtab.c is harder to read than it could be, at least in part
> because it's hard to recognize quick_symbol_functions "methods".
>
> This patch just gives them all a consistent name,
> along the lines of what dwarf2read.c does with the dw2_ prefix.
>
> 2014-12-10 Doug Evans <xdje42@gmail.com>
>
> * psymtab.c (psym_map_symtabs_matching_filename): Renamed from
> partial_map_symtabs_matching_filename. All uses updated.
> (psym_find_pc_sect_compunit_symtab): Renamed from
> find_pc_sect_compunit_symtab_from_partial. All uses updated.
> Add function comment.
> (psym_lookup_symbol): Renamed from lookup_symbol_aux_psymtabs.
> All uses updated. Add function comment.
> (psym_relocate): Renamed from relocate_psymtabs. All uses updated.
> Add function comment.
> (psym_find_last_source_symtab): Renamed from
> find_last_source_symtab_from_partial. All uses updated.
> Add function comment.
> (psym_forget_cached_source_info): Renamed from
> forget_cached_source_info_partial. All uses updated.
> Add function comment.
> (psym_print_stats): Renamed from print_psymtab_stats_for_objfile.
> All uses updated. Add function comment.
> (psym_dump): Renamed from dump_psymtabs_for_objfile. All uses
> updated. Add function comment.
> (psym_expand_symtabs_for_function): Renamed from
> read_symtabs_for_function. All uses updated. Update function comment.
> (psym_expand_all_symtabs): Renamed from expand_partial_symbol_tables.
> All uses updated. Add function comment.
> (psym_expand_symtabs_with_fullname): Renamed from
> read_psymtabs_with_fullname. All uses updated. Add function comment.
> (psym_map_symbol_filenames): Renamed from map_symbol_filenames_psymtab.
> All uses updated. Add function comment.
> (psym_map_matching_symbols): Renamed from map_matching_symbols_psymtab.
> All uses updated.
> (psym_expand_symtabs_matching): Renamed from
> expand_symtabs_matching_via_partial. All uses updated.
> Add function comment.
> (psym_has_symbols): Renamed from objfile_has_psyms. All uses updated.
> Add function comment.
Committed.