[committed]: combine bfd_lookup_symbol in solib-*.c

Yao Qi
2011-08-30T02:51:47Z

On 08/30/2011 12:33 AM, Pedro Alves wrote:
> Thanks.
>
> On Monday 29 August 2011 17:22:49, Yao Qi wrote:
>> +CORE_ADDR
>> +gdb_bfd_lookup_symbol (bfd *abfd,
>> + int (*match_sym) (asymbol *, const void *),
>> + const void *data)
>> +{
>
> The patch is okay if you remove the "const"s. It's common to
> want to increment a counter in `data' or something like that.
>
> (Try `$ grep iterate_over_ *.h' to see other examples of the pattern).
>

OK, "const"s are removed, and committed.
http://sourceware.org/ml/gdb-cvs/2011-08/msg00135.html

--
Yao (é½å°§)