diff options
author | Tom Tromey <tromey@redhat.com> | 2011-01-31 16:52:35 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-01-31 16:52:35 +0000 |
commit | 47a80e909327f6be0451b7792162266e6695f23d (patch) | |
tree | 3d37f5644de9db00bdff6e4bc07daae1a5f0bcda /gdb/python | |
parent | a22429b98e4c117b40f9693585c546067d9a4c0e (diff) | |
download | gdb-47a80e909327f6be0451b7792162266e6695f23d.zip gdb-47a80e909327f6be0451b7792162266e6695f23d.tar.gz gdb-47a80e909327f6be0451b7792162266e6695f23d.tar.bz2 |
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.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/python.c | 1 |
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 |