mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
Fix InlinedFrameDecorator example
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.
This commit is contained in:
@@ -2367,7 +2367,7 @@ class InlinedFrameDecorator(FrameDecorator):
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user