diff options
author | Tom Tromey <tromey@redhat.com> | 2011-01-31 16:52:31 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-01-31 16:52:31 +0000 |
commit | b6a3bbda5068fc589f3b8abf9863cd35ee928d56 (patch) | |
tree | e8993f1d8ab1158d7597e165c266178e7e8bdfcf /gdb/python | |
parent | e9808f1c14f294a35c8176bab61e1c013de0236c (diff) | |
download | gdb-b6a3bbda5068fc589f3b8abf9863cd35ee928d56.tar.gz |
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 134e730064c..b2ee8f9bb21 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 |