From: Pedro Alves <palves@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [RFA/commit] Rename la_get_symbol_name_match_p into la_get_symbol_name_cmp
Date: Mon, 30 Jan 2012 13:58:00 -0000 [thread overview]
Message-ID: <4F26849A.1050005@redhat.com> (raw)
In-Reply-To: <20120130113616.GD31383@adacore.com>
On 01/30/2012 11:36 AM, Joel Brobecker wrote:
>> Did you consider keeping the name, but reverse the return logic to
>> be what one would expect instead (return true/false for match)?
>
> I did. But the cost is that we cannot use strcmp* as default matching
> routines. We end up needing a wrapper, which isn't great and also
> costs us an extra function call.
Okay. Not sure whether the wrapper/call makes a real difference,
but in any case, la_get_symbol_name_cmp makes sense and looks fine
to me. (I find "no_match" confusing.)
--
Pedro Alves
next prev parent reply other threads:[~2012-01-30 11:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 6:57 Joel Brobecker
2012-01-30 7:14 ` Jan Kratochvil
2012-01-30 8:50 ` Joel Brobecker
2012-01-30 11:36 ` Pedro Alves
2012-01-30 11:53 ` Joel Brobecker
2012-01-30 13:58 ` Pedro Alves [this message]
2012-02-03 8:15 ` FYI: " Joel Brobecker
2012-02-08 19:55 ` Joel Brobecker
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=4F26849A.1050005@redhat.com \
--to=palves@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/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