Commit efb417b6 authored by Mark Florisson's avatar Mark Florisson

Remove n-steps argument for stepping and stepping over

parent 4a6be43d
......@@ -1670,22 +1670,16 @@ class GenericCodeStepper(gdb.Command):
return depth
def invoke(self, args, from_tty):
if args:
nsteps = int(args)
else:
nsteps = 1
if self.stepper:
gdb_command = 'step'
else:
gdb_command= 'next'
for nthstep in xrange(nsteps):
self.init_stepping()
while self.next_step(gdb_command):
pass
self.end_stepping()
self.init_stepping()
while self.next_step(gdb_command):
pass
self.end_stepping()
class PythonCodeStepper(GenericCodeStepper):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment