This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] new command to search memory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]