Debugger: Have 'cy run' take arguments (instead of having to use 'set args')
authorMark Florisson <markflorisson88@gmail.com>
Tue, 18 Jan 2011 19:58:30 +0000 (20:58 +0100)
committerMark Florisson <markflorisson88@gmail.com>
Tue, 18 Jan 2011 19:58:30 +0000 (20:58 +0100)
Cython/Debugger/libpython.py

index fd09e82d515fc98f13b8a61f61c13f4d46732e15..769ecd066d142d56cc8fbf8722b2d1f5394852af 100644 (file)
@@ -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))