From: Hannes Domani Date: Tue, 29 Dec 2020 16:18:22 +0000 (+0100) Subject: Fix wrong method name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6596a5d4f605c2fc0963074a5eee4197938d02bb;p=binutils-gdb.git 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 * python.texi (Frame Decorator API): Fix method name. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 1d88c926346..022005952ce 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2020-12-29 Hannes Domani + + * python.texi (Frame Decorator API): Fix method name. + 2020-12-23 Alex Bennée * gdb.texinfo (Packets): Clarify language for ? packet. diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 11cc877125d..51f6d1aa055 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}