This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, doc RFA] Fix lazy string type docs
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 04 Nov 2016 09:32:02 +0200
- Subject: Re: [PATCH, doc RFA] Fix lazy string type docs
- Authentication-results: sourceware.org; auth=none
- References: <94eb2c1121f421b06405406923b6@google.com> <83zilgl8zt.fsf@gnu.org> <CADPb22QnnuHuG+sC=rg5HUJP2L_m1P_J7TTFLv0H-KDd6tON=A@mail.gmail.com> <83y410l6wa.fsf@gnu.org> <CADPb22TETj2o19MZw2GYby1Swe=4RFeT2r1HvKbxfZz8Nv7euQ@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Doug Evans <dje@google.com>
> Date: Thu, 3 Nov 2016 16:54:13 -0700
> Cc: gdb-patches <gdb-patches@sourceware.org>
>
> >> Consider char vs wchar_t.
> >> e.g.,
> >> #include <stddef.h>
> >> char foo[] = "bar";
> >> wchar_t wide_foo[] = L"bar";
> >
> > So maybe it would be more clear to say "the type of characters",
> > plural? And perhaps give an example or two of what types these could
> > be?
>
> Or how about "the type of an element in the string" ?
Yes, that'd be fine, too.
Thanks.