From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22954 invoked by alias); 18 Jan 2014 20:55:28 -0000 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 Received: (qmail 22943 invoked by uid 89); 18 Jan 2014 20:55:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f177.google.com Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com) (209.85.212.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 18 Jan 2014 20:55:25 +0000 Received: by mail-wi0-f177.google.com with SMTP id fb10so1958878wid.16 for ; Sat, 18 Jan 2014 12:55:22 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.20.33 with SMTP id k1mr4478918wje.40.1390078522576; Sat, 18 Jan 2014 12:55:22 -0800 (PST) Received: by 10.194.17.104 with HTTP; Sat, 18 Jan 2014 12:55:22 -0800 (PST) In-Reply-To: <87mwitovvh.fsf@gnu.org> References: <52b9da59.64ab440a.0b0b.7e1c@mx.google.com> <83ha9w68av.fsf@gnu.org> <87sit4kb1t.fsf@gnu.org> <83eh4ow78t.fsf@gnu.org> <87k3egez8e.fsf@gnu.org> <87mwitovvh.fsf@gnu.org> Date: Sat, 18 Jan 2014 20:55:00 -0000 Message-ID: Subject: Re: [PATCH v1 02/36] Guile extension language: doc additions From: Doug Evans To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Cc: Eli Zaretskii , "gdb-patches@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00706.txt.bz2 On Sat, Jan 18, 2014 at 12:52 PM, Ludovic Court=E8s wrote: >> Note that as far as functionality goes, what's there now is what gdb pro= vides. >> ref: LA_GET_STRING, struct language_defn.la_get_string. >> Any additional functionality can be added later. > > If the functionality is that only null-terminated strings are supported, > then the text is fin Correction: Either a null-terminated string or a string with the specified length passed in (i.e., not present in the string itself) is supported. > Eli was suggesting supporting non-null-terminated strings as well, but > indeed, that can always be added later. They are supported, but the caller has to provide the length.