aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2020-12-29 17:18:22 +0100
committerHannes Domani <ssbssa@yahoo.de>2020-12-29 18:35:50 +0100
commit6596a5d4f605c2fc0963074a5eee4197938d02bb (patch)
tree15198dbc2a320ffe381b8f036162071d69c3ee89 /gdb
parente2e3422ce14e6ed57805b1c2bd457bc5cca2f7fc (diff)
downloadbinutils-6596a5d4f605c2fc0963074a5eee4197938d02bb.zip
binutils-6596a5d4f605c2fc0963074a5eee4197938d02bb.tar.gz
binutils-6596a5d4f605c2fc0963074a5eee4197938d02bb.tar.bz2
Fix wrong method name
The objects returned by FrameDecorator.frame_args need to implement a method named symbol, not argument. gdb/doc/ChangeLog: 2020-12-29 Hannes Domani <ssbssa@yahoo.de> * python.texi (Frame Decorator API): Fix method name.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/python.texi2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 1d88c92..0220059 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-29 Hannes Domani <ssbssa@yahoo.de>
+
+ * python.texi (Frame Decorator API): Fix method name.
+
2020-12-23 Alex Bennée <alex.bennee@linaro.org>
* gdb.texinfo (Packets): Clarify language for ? packet.
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 11cc877..51f6d1a 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -2045,7 +2045,7 @@ empty iterable, or @code{None} means frame arguments will not be
printed for this frame. This iterable must contain objects that
implement two methods, described here.
-This object must implement a @code{argument} method which takes a
+This object must implement a @code{symbol} method which takes a
single @code{self} parameter and must return a @code{gdb.Symbol}
(@pxref{Symbols In Python}), or a Python string. The object must also
implement a @code{value} method which takes a single @code{self}