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/inf-ptrace.c | |
parent | 4c35c4c6a779c79e456b7a5311f74aafc9026bd5 (diff) | |
download | fsf-binutils-gdb-30220b46d4cc34f4882525eb92b40725637cbba7.zip fsf-binutils-gdb-30220b46d4cc34f4882525eb92b40725637cbba7.tar.gz fsf-binutils-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/inf-ptrace.c')
-rw-r--r-- | gdb/inf-ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index 8995ef5..ab669a7 100644 --- a/gdb/inf-ptrace.c +++ b/gdb/inf-ptrace.c @@ -163,7 +163,7 @@ inf_ptrace_target::attach (const char *args, int from_tty) #endif inferior_appeared (inf, pid); - inf->attach_flag = 1; + inf->attach_flag = true; /* Always add a main thread. If some target extends the ptrace target, it should decorate the ptid later with more info. */ |