This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/9] Rename some "aux" functions.
- From: Yao Qi <yao at codesourcery dot com>
- To: Doug Evans <xdje42 at gmail dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 28 Oct 2014 09:05:15 +0800
- Subject: Re: [PATCH 5/9] Rename some "aux" functions.
- Authentication-results: sourceware.org; auth=none
- References: <m3zjcijfi5 dot fsf at sspiff dot org>
Doug Evans <xdje42@gmail.com> writes:
> static struct symbol *
> -lookup_symbol_aux_objfile (struct objfile *objfile, int block_index,
> - const char *name, const domain_enum domain)
> +lookup_symbol_in_symtabs (struct objfile *objfile, int block_index,
> + const char *name, const domain_enum domain)
Hi Doug,
It looks good to remove "aux" from function name, but this function
still has a parameter objfile, so I feel we'd better keep "object" in
function name, such as lookup_symbol_in_objfile, what do you think?
--
Yao (éå)