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.
This commit is contained in:
parent
e2e3422ce1
commit
6596a5d4f6
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue