From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19552 invoked by alias); 8 Aug 2012 18:14:43 -0000 Received: (qmail 19538 invoked by uid 22791); 8 Aug 2012 18:14:42 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Aug 2012 18:14:23 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M8G00C007YLMX00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Wed, 08 Aug 2012 21:14:03 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8G00CYR7ZFJR30@a-mtaout22.012.net.il>; Wed, 08 Aug 2012 21:14:03 +0300 (IDT) Date: Wed, 08 Aug 2012 18:14:00 -0000 From: Eli Zaretskii Subject: Re: [RFA, doc RFA] Implement $_memeq, $_streq, $_strlen In-reply-to: To: Doug Evans Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y5lpdzf5.fsf@gnu.org> References: <834nodfi6f.fsf@gnu.org> <20514.39220.59446.622043@ruffy2.mtv.corp.google.com> <83zk65e16q.fsf@gnu.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00264.txt.bz2 > Date: Wed, 8 Aug 2012 10:48:52 -0700 > From: Doug Evans > 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.