This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch 0/2] Unify lookup_symbol_in_objfile_symtabs
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 3 Dec 2014 18:06:50 +0100
- Subject: [patch 0/2] Unify lookup_symbol_in_objfile_symtabs
- Authentication-results: sourceware.org; auth=none
Hi,
I have seen
[patchv3 2/2] Accelerate lookup_symbol_aux_objfile 85x
could be even applied in one other part of code which is duplicated now.
I am just not sure if we should go the route of
struct objfile * -> const struct objfile *
or the other way of:
const struct objfile * -> struct objfile *
Normally const adding is better but here I do not see much useful to have any
struct objfile * const and then it just causes pointer compatibility problems.
Please choose +const or -const variant for check-in.
Jan