Commit f857fd72 authored by Mark Florisson's avatar Mark Florisson

Debugger: Have 'cy run' take arguments (instead of having to use 'set args')

parent 6689e031
...@@ -2074,8 +2074,8 @@ class ExecutionControlCommandBase(gdb.Command): ...@@ -2074,8 +2074,8 @@ class ExecutionControlCommandBase(gdb.Command):
self.finish_executing(result) self.finish_executing(result)
def run(self, *args): def run(self, args, from_tty):
self.finish_executing(gdb.execute('run', to_string=True)) self.finish_executing(gdb.execute('run ' + args, to_string=True))
def cont(self, *args): def cont(self, *args):
self.finish_executing(gdb.execute('cont', to_string=True)) self.finish_executing(gdb.execute('cont', to_string=True))
......
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