aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2020-11-24 19:43:19 +0100
committerHannes Domani <ssbssa@yahoo.de>2020-11-29 19:07:30 +0100
commit9f1212394fa283e2748a83be8bca240710e696ca (patch)
tree8a3e3696d76cd2a1236ef2d792b1060327478bdc /gdb/doc
parent96fb90861a4ebd78358ade2426d533f09bee129a (diff)
downloadgdb-9f1212394fa283e2748a83be8bca240710e696ca.zip
gdb-9f1212394fa283e2748a83be8bca240710e696ca.tar.gz
gdb-9f1212394fa283e2748a83be8bca240710e696ca.tar.bz2
Fix Value.format_string docu for static members argument
The argument is called static_members, not static_fields. gdb/doc/ChangeLog: 2020-11-29 Hannes Domani <ssbssa@yahoo.de> PR python/26974 * python.texi: Fix docu for static members argument.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/python.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 69b079b..08fb92b 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-29 Hannes Domani <ssbssa@yahoo.de>
+
+ PR python/26974
+ * python.texi: Fix docu for static members argument.
+
2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.texinfo (Debugging Output): Document 'set/show debug
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 9bb9f3c..c107d45 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -921,7 +921,7 @@ identify the @emph{actual} (derived) type of the object rather than the
the @emph{declared} type should be used. (See @code{set print object} in
@ref{Print Settings}).
-@item static_fields
+@item static_members
@code{True} if static members should be included in the string
representation of a C@t{++} object, @code{False} if they shouldn't (see
@code{set print static-members} in @ref{Print Settings}).