diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2022-11-27 17:57:08 +0100 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2022-11-27 21:06:18 +0100 |
commit | 30220b46d4cc34f4882525eb92b40725637cbba7 (patch) | |
tree | a26162c9325c20f2db32e3f233c4d8454cb698e3 /gdb/infcmd.c | |
parent | 4c35c4c6a779c79e456b7a5311f74aafc9026bd5 (diff) | |
download | gdb-30220b46d4cc34f4882525eb92b40725637cbba7.zip gdb-30220b46d4cc34f4882525eb92b40725637cbba7.tar.gz gdb-30220b46d4cc34f4882525eb92b40725637cbba7.tar.bz2 |
Use false/true for some inferior class members instead of 0/1
Some class members were changed to bool, but there was
still some assignments or comparisons using 0/1.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index f7bce0d..a27d357 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -2494,7 +2494,7 @@ setup_inferior (int from_tty) struct inferior *inferior; inferior = current_inferior (); - inferior->needs_setup = 0; + inferior->needs_setup = false; /* If no exec file is yet known, try to determine it from the process itself. */ @@ -2677,7 +2677,7 @@ attach_command (const char *args, int from_tty) wait_for_inferior as soon as the target reports a stop. */ init_wait_for_inferior (); - inferior->needs_setup = 1; + inferior->needs_setup = true; if (target_is_non_stop_p ()) { |