From: Mark Florisson Date: Tue, 18 Jan 2011 19:58:30 +0000 (+0100) Subject: Debugger: Have 'cy run' take arguments (instead of having to use 'set args') X-Git-Tag: 0.14.1rc2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f857fd72ad8b45c3b50bde68ac38e992fa043683;p=cython.git Debugger: Have 'cy run' take arguments (instead of having to use 'set args') --- diff --git a/Cython/Debugger/libpython.py b/Cython/Debugger/libpython.py index fd09e82d..769ecd06 100644 --- a/Cython/Debugger/libpython.py +++ b/Cython/Debugger/libpython.py @@ -2074,8 +2074,8 @@ class ExecutionControlCommandBase(gdb.Command): self.finish_executing(result) - def run(self, *args): - self.finish_executing(gdb.execute('run', to_string=True)) + def run(self, args, from_tty): + self.finish_executing(gdb.execute('run ' + args, to_string=True)) def cont(self, *args): self.finish_executing(gdb.execute('cont', to_string=True))