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: Mircea Gherzan <mircea dot gherzan at intel dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: tromey at redhat dot com, jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Fri, 28 Jun 2013 17:14:35 +0200
- 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> <51CC9097 dot 6000505 at redhat dot com>
On 27.06.2013 21:20, Pedro Alves wrote:
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.
Thanks for pointing this out. Will remove this patch from the series.
Mircea
--
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052