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.
This commit is contained in:
parent
a22429b98e
commit
47a80e9093
4 changed files with 32 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue