summaryrefslogtreecommitdiff
path: root/Cython/Debugger/libpython.py
diff options
context:
space:
mode:
authorMark Florisson <markflorisson88@gmail.com>2011-01-18 20:58:30 +0100
committerMark Florisson <markflorisson88@gmail.com>2011-01-18 20:58:30 +0100
commitf857fd72ad8b45c3b50bde68ac38e992fa043683 (patch)
treeaa85684feaf45a572c4b7170e14c11e3da00ae66 /Cython/Debugger/libpython.py
parent6689e031f65579bde60bb55c7b676c9795ad88c5 (diff)
downloadcython-f857fd72ad8b45c3b50bde68ac38e992fa043683.tar.gz
Debugger: Have 'cy run' take arguments (instead of having to use 'set args')
Diffstat (limited to 'Cython/Debugger/libpython.py')
-rw-r--r--Cython/Debugger/libpython.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Debugger/libpython.py b/Cython/Debugger/libpython.py
index fd09e82d5..769ecd066 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))