From: David Carlton <carlton@math.stanford.edu>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [rfa] more lookup_symbol_aux_minsyms futzing
Date: Thu, 20 Feb 2003 21:35:00 -0000 [thread overview]
Message-ID: <ro1of564ov0.fsf@jackfruit.Stanford.EDU> (raw)
In-Reply-To: <20030220211642.GA24294@nevyn.them.org>
On Thu, 20 Feb 2003 16:16:42 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> On Thu, Feb 20, 2003 at 12:57:37PM -0800, David Carlton wrote:
>> (Incidentally, I'm curious if Daniel considers the patch in
>> symtab/1070 to still be active: if so, please review the e-mail
>> discussion that Daniel and I had about this. I actually have more
>> to say about that if you're considering approving that patch.)
> Yes, I never withdrew it; that's why I forwarded it to GNATS.
Ah, I wasn't sure if you'd forwarded it or if Andrew and his nefarious
gang of shell scripts had forwarded it.
>> 1) A patch to correct a slight bug that remains in
>> lookup_partial_symbol. Basically, partial symbols are sorted via
>> strcmp but we want to use strcmp_iw as our matching criterion;
>> strcmp and strcmp_iw aren't _quite_ suitable to be used together in
>> this way.
> Should they be sorted via strcmp_iw instead?
That would be the obvious thing to do; unfortunately, strcmp_iw
doesn't define an ordering. (It defines an asymmetric equality
relationship, but doesn't give you a way to order names that aren't
strcmp_iw.) So you need to come up with an ordering function that can
be passed to qsort that is compatible with strcmp_iw's quirks.
Not too hard; I've done it, I just need to submit it as a patch.
It'll happen as soon as I've submitted my first namespace patch, no
later than Monday.
(And, as you said elsewhere, we should just hash partial symbols, like
we do with everything else, but that takes more work; eventually, one
of us will find some time to do it.)
David Carlton
carlton@math.stanford.edu
prev parent reply other threads:[~2003-02-20 21:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-23 10:56 David Carlton
2002-12-24 1:56 ` Jason Molenda
2002-12-24 10:05 ` David Carlton
2002-12-24 16:34 ` Jason Molenda
2003-02-20 20:04 ` Elena Zannoni
2003-02-20 20:57 ` David Carlton
2003-02-20 21:18 ` Daniel Jacobowitz
2003-02-20 21:35 ` David Carlton [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=ro1of564ov0.fsf@jackfruit.Stanford.EDU \
--to=carlton@math.stanford.edu \
--cc=drow@mvista.com \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.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