aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-10-07 00:27:31 +0000
committerStan Shebs <shebs@codesourcery.com>1995-10-07 00:27:31 +0000
commitb57765227999eed27af415416375051e1ba6a786 (patch)
tree063e689c4bc4870b471c776d063e86277bc010a4 /gdb/top.c
parentcdc49cba9930a07256eb470cc62c9e2f6abc661a (diff)
downloadgdb-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 1d6b0c5..612c2a1 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -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;
}