diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2021-05-26 18:26:33 +0200 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2021-05-29 13:39:18 +0200 |
commit | 3067d0b1beebca59eb6148dc141436de3131a316 (patch) | |
tree | 958ace8d5dcd83536905ba28b4934554a60a5241 /gdb/doc/python.texi | |
parent | 1ff6a3b8e562d09aec8dcf1d8b0ef67f271126fc (diff) | |
download | gdb-3067d0b1beebca59eb6148dc141436de3131a316.zip gdb-3067d0b1beebca59eb6148dc141436de3131a316.tar.gz gdb-3067d0b1beebca59eb6148dc141436de3131a316.tar.bz2 |
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.
Diffstat (limited to 'gdb/doc/python.texi')
-rw-r--r-- | gdb/doc/python.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 23e6ac6..f05d39f 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -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: |