- def _watchpoint_step(self, stepinto):
- # Set a watchpoint for a frame once as deleting it will make py-step
- # unrepeatable.
- # See http://sourceware.org/bugzilla/show_bug.cgi?id=12216
- # When the watchpoint goes out of scope it will automatically
- # disappear.
-
- newframe = gdb.selected_frame()
- framewrapper = Frame(newframe)
- if (newframe != getattr(self, 'lastframe', None) and
- framewrapper.is_evalframeex()):
- self.lastframe = newframe
- output = gdb.execute('watch f->f_lasti', to_string=True)
-
- self.step(stepinto=stepinto, stepover_command='finish')
+ def python_step(self, stepinto):
+ frame = gdb.selected_frame()
+ framewrapper = Frame(frame)