aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r--gdb/python/python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 134e730..b2ee8f9 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -375,6 +375,7 @@ execute_gdb_command (PyObject *self, PyObject *args, PyObject *kw)
char *copy = xstrdup (arg);
struct cleanup *cleanup = make_cleanup (xfree, copy);
+ prevent_dont_repeat ();
if (to_string)
result = execute_command_to_string (copy, from_tty);
else