mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08: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:
@ -1,3 +1,7 @@
|
||||
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"
|
||||
|
@ -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