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: [PATCH 7/7] gdbserver: add fallback implementation for memmem


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


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