From: Yao Qi <yao@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: [committed]: combine bfd_lookup_symbol in solib-*.c
Date: Tue, 30 Aug 2011 02:51:00 -0000 [thread overview]
Message-ID: <4E5C502E.1060902@codesourcery.com> (raw)
In-Reply-To: <201108291733.22228.pedro@codesourcery.com>
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 (é½å°§)
prev parent reply other threads:[~2011-08-30 2:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 15:37 Yao Qi
2011-08-28 14:41 ` [ping] " Yao Qi
2011-08-29 11:41 ` Pedro Alves
2011-08-29 16:23 ` Yao Qi
2011-08-29 16:33 ` Pedro Alves
2011-08-30 2:51 ` Yao Qi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5C502E.1060902@codesourcery.com \
--to=yao@codesourcery.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox