From 47a80e909327f6be0451b7792162266e6695f23d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 31 Jan 2011 16:52:35 +0000 Subject: PR python/12216: * python/python.c (execute_gdb_command): Call prevent_dont_repeat. * top.c (suppress_dont_repeat): New global. (dont_repeat): Use it. (prevent_dont_repeat): New function. * command.h (prevent_dont_repeat): Declare. --- gdb/python/python.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/python/python.c') 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 -- cgit v1.1