Use boolean literals in linux-nat.c
authorTom Tromey <tromey@adacore.com>
Fri, 17 Jul 2020 15:20:33 +0000 (09:20 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 17 Jul 2020 15:21:12 +0000 (09:21 -0600)
commitf80c8ec423f006eff316d3df633f95439d7dbc7a
tree9ea938bdd1d2746f9bd6b0b2d9c0b73c766d6cdd
parent90c3ec2d210a76e88e9fe7c62af9806650a5a9c0
Use boolean literals in linux-nat.c

I noticed a couple of spots in linux-nat.c that use 0/1 where boolean
literals would be more idiomatic.  This patch makes this change.

gdb/ChangeLog
2020-07-17  Tom Tromey  <tromey@adacore.com>

* linux-nat.c (linux_nat_target::supports_non_stop)
(linux_nat_target::always_non_stop_p): Use "true".
(linux_nat_target::supports_disable_randomization): Use "true" and
"false".
gdb/ChangeLog
gdb/linux-nat.c