This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v1 02/36] Guile extension language: doc additions
- From: Doug Evans <xdje42 at gmail dot com>
- To: Ludovic Courtès <ludo at gnu dot org>
- Cc: Eli Zaretskii <eliz at gnu dot org>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Sat, 18 Jan 2014 12:55:22 -0800
- Subject: Re: [PATCH v1 02/36] Guile extension language: doc additions
- Authentication-results: sourceware.org; auth=none
- References: <52b9da59 dot 64ab440a dot 0b0b dot 7e1c at mx dot google dot com> <83ha9w68av dot fsf at gnu dot org> <87sit4kb1t dot fsf at gnu dot org> <83eh4ow78t dot fsf at gnu dot org> <87k3egez8e dot fsf at gnu dot org> <CAP9bCMTR8Dv7ejLWs0yqeFLja8-fck08kvHHWiJdS09WAG5nbw at mail dot gmail dot com> <87mwitovvh dot fsf at gnu dot org>
On Sat, Jan 18, 2014 at 12:52 PM, Ludovic Courtès <ludo@gnu.org> wrote:
>> Note that as far as functionality goes, what's there now is what gdb provides.
>> 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.