From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20432 invoked by alias); 11 Feb 2002 03:22:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20330 invoked from network); 11 Feb 2002 03:22:29 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 11 Feb 2002 03:22:29 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16a72z-0003F9-00 for ; Sun, 10 Feb 2002 22:22:29 -0500 Date: Sun, 10 Feb 2002 19:22:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFA] Sorting symbols. Again. Message-ID: <20020210222229.A12291@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20020130235429.A22536@nevyn.them.org> <03F8CC6B-1677-11D6-B8F7-0050E4C09301@apple.com> <15463.14283.364639.563892@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15463.14283.364639.563892@localhost.redhat.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00313.txt.bz2 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. Thanks, committed. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer