public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/4] Fix some aspects of python lazy string handling: docs
@ 2016-11-07  1:12 Doug Evans
  2016-11-07  3:36 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Evans @ 2016-11-07  1:12 UTC (permalink / raw)
  To: gdb-patches, eliz, pmuldoon

Hi. This patch is a small doc fix to note that arrays can be
turned into lazy strings as well as pointers.

2016-11-06  Doug Evans  <dje@google.com>

	* guile.texi (Lazy Strings In Guile): Mention arrays.
	* python.texi (Lazy Strings In Python): Ditto.

diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi
index 0030f3f..65bc008 100644
--- a/gdb/doc/guile.texi
+++ b/gdb/doc/guile.texi
@@ -3248,7 +3248,7 @@ most appropriate encoding when the string is printed.

  @deffn {Scheme Procedure} lazy-string-type lazy-string
  Return the type that is represented by @var{lazy-string}'s type.
-For a lazy string this will always be a pointer type.  To
+For a lazy string this is a pointer or array type.  To
  resolve this to the lazy string's character type, use  
@code{type-target-type}.
  @xref{Types In Guile}.
  @end deffn
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index d6507e5..834247c 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -4884,7 +4884,7 @@ is not writable.

  @defvar LazyString.type
  This attribute holds the type that is represented by the lazy string's
-type.  For a lazy string this will always be a pointer type.  To
+type.  For a lazy string this is a pointer or array type.  To
  resolve this to the lazy string's character type, use the type's
  @code{target} method.  @xref{Types In Python}.  This attribute is not
  writable.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/4] Fix some aspects of python lazy string handling: docs
  2016-11-07  1:12 [PATCH 1/4] Fix some aspects of python lazy string handling: docs Doug Evans
@ 2016-11-07  3:36 ` Eli Zaretskii
  2017-03-16 16:40   ` Doug Evans via gdb-patches
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2016-11-07  3:36 UTC (permalink / raw)
  To: Doug Evans; +Cc: gdb-patches, pmuldoon

> Date: Mon, 07 Nov 2016 01:12:48 +0000
> From: Doug Evans <dje@google.com>
> 
> Hi. This patch is a small doc fix to note that arrays can be
> turned into lazy strings as well as pointers.
> 
> 2016-11-06  Doug Evans  <dje@google.com>
> 
> 	* guile.texi (Lazy Strings In Guile): Mention arrays.
> 	* python.texi (Lazy Strings In Python): Ditto.

OK.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/4] Fix some aspects of python lazy string handling: docs
  2016-11-07  3:36 ` Eli Zaretskii
@ 2017-03-16 16:40   ` Doug Evans via gdb-patches
  0 siblings, 0 replies; 3+ messages in thread
From: Doug Evans via gdb-patches @ 2017-03-16 16:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches, Phil Muldoon

On Sun, Nov 6, 2016 at 7:36 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Date: Mon, 07 Nov 2016 01:12:48 +0000
> > From: Doug Evans <dje@google.com>
> >
> > Hi. This patch is a small doc fix to note that arrays can be
> > turned into lazy strings as well as pointers.
> >
> > 2016-11-06  Doug Evans  <dje@google.com>
> >
> >       * guile.texi (Lazy Strings In Guile): Mention arrays.
> >       * python.texi (Lazy Strings In Python): Ditto.
>
> OK.

Committed, finally.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-16 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07  1:12 [PATCH 1/4] Fix some aspects of python lazy string handling: docs Doug Evans
2016-11-07  3:36 ` Eli Zaretskii
2017-03-16 16:40   ` Doug Evans via gdb-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).