This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] Sorting symbols. Again.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 10 Feb 2002 22:22:29 -0500
- Subject: Re: [RFA] Sorting symbols. Again.
- References: <20020130235429.A22536@nevyn.them.org> <03F8CC6B-1677-11D6-B8F7-0050E4C09301@apple.com> <firstname.lastname@example.org>
On Sun, Feb 10, 2002 at 10:17:31PM -0500, Elena Zannoni wrote:
> > > On Wed, Jan 30, 2002 at 12:54:30AM -0500, Daniel Jacobowitz wrote:
> > >> I think I got it right this time... After a tremendous epic of linked
> > >> list
> > >> management bugs, this kills the two dubious uses of
> > >> BLOCK_SHOULD_SORT() and
> > >> replaces them with code to sort lists after finishing with the
> > >> search. It's
> > >> not the prettiest set of sorts I've ever written - especially the
> > >> Insight
> > >> part - but it works and is reasonably fast. The lists are generally
> > >> small,
> > >> too.
> > >>
> > >> Elena, you implicitly approved this back in November, but I'd
> > >> appreciate you
> > >> looking over it again. Keith (or someone else on the insight list, of
> > >> course), I'd appreciate it if you'd double-check my Tcl. I loathe
> > >> Tcl, did
> > >> I mention? I'm reasonably sure I got the refcounting right now.
> > >
> > > OK, let's be less dirty to TCL. Having reached the decision that the
> > > output of gdb_listfuncs does not, in fact, need to be sorted, the patch
> > > is somewhat simpler.
> > >
> > > This version OK?
> [I lost some mail, sorry for the random reply]
> Ok with me for the symtab part.
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer