[PATCH] Fix Value.format_string docu for static members argument

Hannes Domani ssbssa@yahoo.de
Tue Nov 24 18:49:38 GMT 2020


The argument is called static_members, not static_fields.

gdb/doc/ChangeLog:

2020-11-24  Hannes Domani  <ssbssa@yahoo.de>

	* python.texi: Fix docu for static members argument.
---
 gdb/doc/python.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 8e6d88f3fc..60ae20f2c1 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -926,7 +926,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}).
-- 
2.29.2



More information about the Gdb-patches mailing list