This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 7/7] gdbserver: add fallback implementation for memmem
- From: Pedro Alves <palves at redhat dot com>
- To: Mircea Gherzan <mircea dot gherzan at intel dot com>
- Cc: tromey at redhat dot com, jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 27 Jun 2013 20:20:55 +0100
- Subject: Re: [PATCH 7/7] gdbserver: add fallback implementation for memmem
- References: <1372322622-3216-1-git-send-email-mircea dot gherzan at intel dot com> <1372322622-3216-8-git-send-email-mircea dot gherzan at intel dot com>
I'll review the rest of the series later, but ...
On 06/27/2013 09:43 AM, Mircea Gherzan wrote:
> The memmem() function is a GNU extension.
>
> 2013-06-26 Mircea Gherzan <mircea.gherzan@intel.com>
>
> gdbserver/
>
> * configure.ac (AC_CHECK_FUNCS): Add memmem.
> * configure: Rebuild.
> * config.in: Rebuild.
> * server.c (memmem): New function, included only if it's not
> already provided by the system.
We already pull in a fallback memmem from gnulib. You need
to figure out why that isn't working for you.
--
Pedro Alves