diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-10-07 00:27:31 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-10-07 00:27:31 +0000 |
commit | b57765227999eed27af415416375051e1ba6a786 (patch) | |
tree | 063e689c4bc4870b471c776d063e86277bc010a4 /gdb/top.c | |
parent | cdc49cba9930a07256eb470cc62c9e2f6abc661a (diff) | |
download | gdb-b57765227999eed27af415416375051e1ba6a786.zip gdb-b57765227999eed27af415416375051e1ba6a786.tar.gz gdb-b57765227999eed27af415416375051e1ba6a786.tar.bz2 |
* top.c (execute_control_command): Use 0/1 instead of BFD's
true/false.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -818,10 +818,10 @@ execute_control_command (cmd) make_cleanup (free_current_contents, &expr); ret = simple_control; - loop = true; + loop = 1; /* Keep iterating so long as the expression is true. */ - while (loop == true) + while (loop == 1) { /* Evaluate the expression. */ val = evaluate_expression (expr); @@ -840,7 +840,7 @@ execute_control_command (cmd) looping. */ if (ret == invalid_control || ret == break_control) { - loop = false; + loop = 0; break; } |