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: [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.


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