* top.c (execute_control_command, case while_control): Allow

a while command to be interrupted.
Fixes net bug.
This commit is contained in:
Jeff Law 1996-05-13 23:53:54 +00:00
parent a50cedad0e
commit 24ecc17a04
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com)
* top.c (execute_control_command, case while_control): Allow
a while command to be interrupted.
Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com)
* sol-thread.c: More cleanup, add comments.

View File

@ -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);