If supported, select this frame and return True; return False if unsupported Not all builds have a gdb.Frame.select method; seems to be present on Fedora 12 onwards, but absent on Ubuntu buildbot
(self)
| 1733 | return None |
| 1734 | |
| 1735 | def select(self): |
| 1736 | '''If supported, select this frame and return True; return False if unsupported |
| 1737 | |
| 1738 | Not all builds have a gdb.Frame.select method; seems to be present on Fedora 12 |
| 1739 | onwards, but absent on Ubuntu buildbot''' |
| 1740 | if not hasattr(self._gdbframe, 'select'): |
| 1741 | print ('Unable to select frame: ' |
| 1742 | 'this build of gdb does not expose a gdb.Frame.select method') |
| 1743 | return False |
| 1744 | self._gdbframe.select() |
| 1745 | return True |
| 1746 | |
| 1747 | def get_index(self): |
| 1748 | '''Calculate index of frame, starting at 0 for the newest frame within |