Re: [RFA] new command to search memory

Daniel Jacobowitz
2008-05-09T03:25:01Z

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