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
> Date: Wed, 8 Aug 2012 10:48:52 -0700
> From: Doug Evans <dje@google.com>
> Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org
>
> Hmm, maybe it would be better to remove the "C" reference (e.g., the
> current language could be something else).
If that works for strings in any language, then yes. But please
mention that they are strings in the current language then.
> Btw, what is the technical reason we require Python for these
> > functions?
> >
>
> There is none (beyond they're implemented in Python).
Sorry, I'm not following: we have strlen, regex, memcmp etc. in C as
well, don't we?
> If the v in vindex is for variables and f in findex is for functions,
They are.
> should these be using vindex?
>
> @table @code
> @findex STDOUT
> @findex gdb.STDOUT
> @item gdb.STDOUT
> @value{GDBN}'s standard output stream.
>
> @findex STDERR
> @findex gdb.STDERR
> @item gdb.STDERR
> @value{GDBN}'s standard error stream.
>
> @findex STDLOG
> @findex gdb.STDLOG
> @item gdb.STDLOG
> @value{GDBN}'s log stream (@pxref{Logging Output}).
> @end table
Yes, they should be.
- References:
- [RFA, doc RFA] Implement $_memeq, $_streq, $_strlen
- Re: [RFA, doc RFA] Implement $_memeq, $_streq, $_strlen
- Re: [RFA, doc RFA] Implement $_memeq, $_streq, $_strlen
- Re: [RFA, doc RFA] Implement $_memeq, $_streq, $_strlen