STINNER Victor <victor.stin...@haypocalc.com> added the comment: In GDB 7.1, a gdb.frame object has no more function method: it's replaced by a name method. Tools/gdb/libpython.py should be modified:
Add >>GDB_70 = gdb.VERSION.startswith("7.0")<< at the beginning, and replace is_evalframeex() by: def is_evalframeex(self): '''Is this a PyEval_EvalFrameEx frame?''' if GDB_70: func = self._gdbframe.function() if not func: return False func_name = func.name else: func_name = self._gdbframe.name() if func_name != 'PyEval_EvalFrameEx': return False # I believe we also need to filter on the inline # struct frame_id.inline_depth, only regarding frames with # an inline depth of 0 as actually being this function # # So we reject those with type gdb.INLINE_FRAME return (self._gdbframe.type() == gdb.NORMAL_FRAME) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8279> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com