Argument fobj was only available in the constructor.
gdb/doc/ChangeLog:
2021-05-29 Hannes Domani <ssbssa@yahoo.de>
* python.texi (Writing a Frame Filter): Fix example.
+2021-05-29 Hannes Domani <ssbssa@yahoo.de>
+
+ * python.texi (Writing a Frame Filter): Fix example.
+
2021-05-27 Hannes Domani <ssbssa@yahoo.de>
* python.texi (TUI Windows In Python): Document "full_window"
super(InlinedFrameDecorator, self).__init__(fobj)
def function(self):
- frame = fobj.inferior_frame()
+ frame = self.inferior_frame()
name = str(frame.name())
if frame.type() == gdb.INLINE_FRAME: