From f857fd72ad8b45c3b50bde68ac38e992fa043683 Mon Sep 17 00:00:00 2001 From: Mark Florisson Date: Tue, 18 Jan 2011 20:58:30 +0100 Subject: [PATCH] Debugger: Have 'cy run' take arguments (instead of having to use 'set args') --- Cython/Debugger/libpython.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.26.2