aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 088bcd9..40a4b34 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -823,6 +823,8 @@ execute_control_command (cmd)
/* Keep iterating so long as the expression is true. */
while (loop == 1)
{
+ QUIT;
+
/* Evaluate the expression. */
val = evaluate_expression (expr);