This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA, doc RFA] Implement $_memeq, $_streq, $_strlen
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: dje at google dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 8 Aug 2012 09:10:50 +0200
- Subject: Re: [RFA, doc RFA] Implement $_memeq, $_streq, $_strlen
- References: <yjt27gtapeo0.fsf@ruffy.mtv.corp.google.com>
Hello Doug,
On Tue, 07 Aug 2012 23:37:03 +0200, dje@google.com wrote:
> I've had several requests for these and I'd like to finally get
> these implemented. And I've long wanted them myself.
FYI I commonly use also strstr. (For example for long pathnames in function
parameters one can type just short substring.)
Unrelated is a problem that real (gnu-ifunc) strstr does not work in FSF GDB,
it is a glibc Bug currently only workarounded in Fedora GDB:
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-glibc-strstr-workaround.patch
http://sourceware.org/bugzilla/show_bug.cgi?id=14166
Regards,
Jan