From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18052 invoked by alias); 9 May 2008 03:25:01 -0000 Received: (qmail 18039 invoked by uid 22791); 9 May 2008 03:25:00 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 May 2008 03:24:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3BAE4983F1; Fri, 9 May 2008 03:24:39 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 1B76E98011; Fri, 9 May 2008 03:24:39 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JuJDq-0007Q9-D9; Thu, 08 May 2008 23:24:38 -0400 Date: Fri, 09 May 2008 07:33:00 -0000 From: Daniel Jacobowitz To: Doug Evans Cc: gdb-patches@sourceware.org Subject: Re: [RFA] new command to search memory Message-ID: <20080509032438.GA28231@caradoc.them.org> Mail-Followup-To: Doug Evans , gdb-patches@sourceware.org References: <20080214021915.F3FE51C72F0@localhost> <20080226022335.GB4456@caradoc.them.org> <20080229031252.GA2897@caradoc.them.org> <20080502151742.GM29202@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00307.txt.bz2 On Thu, May 08, 2008 at 07:51:29PM -0700, Doug Evans wrote: > I thought gnulib/memmem.o was always going to be used. We started > down this path because, in part, libc's memmem is O(n^2). > > configure ... > checking for memmem... yes > > after making gdbserver ... > $ nm gdbserver | grep memmem > U memmem@@GLIBC_2.0 It was deliberate, since gdbserver is supposed to be small rather than fast. If you feel strongly about it we can rip out the configure bits easily enough. -- Daniel Jacobowitz CodeSourcery