This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Lazy strings can be made from arrays too.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f8d995870f957d5fd32fb21fb4afe76a754ddf31

commit f8d995870f957d5fd32fb21fb4afe76a754ddf31
Author: Doug Evans <dje@google.com>
Date:   Sun Nov 6 16:03:56 2016 -0800

    Lazy strings can be made from arrays too.
    
    gdb/doc/ChangeLog:
    
    	* guile.texi (Lazy Strings In Guile): Mention arrays.
    	* python.texi (Lazy Strings In Python): Ditto.

Diff:
---
 gdb/doc/ChangeLog   | 5 +++++
 gdb/doc/guile.texi  | 2 +-
 gdb/doc/python.texi | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index e6d4320..8b8820e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-16  Doug Evans  <dje@google.com>
+
+	* guile.texi (Lazy Strings In Guile): Mention arrays.
+	* python.texi (Lazy Strings In Python): Ditto.
+
 2017-03-08  Jiong Wang  <jiong.wang@arm.com>
 
         * gdb.texinfo (Memory Protection Extensions): Add missing escape
diff --git a/gdb/doc/guile.texi b/gdb/doc/guile.texi
index 2b077a7..9ae980e 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 c3ea203..d00bc6f 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -5133,7 +5133,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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]