linux-thread-db.c: use bool where possible in thread_db code
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 15 May 2019 15:20:16 +0000 (11:20 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 15 May 2019 15:20:52 +0000 (11:20 -0400)
commit9ddc1af18c31e775ae7b107779addfcde92c723f
treed50a5e06d7993220d6ce5b5d83b985d482295407
parent95008a882803920a0faf672dd4a54edcc6ab66a7
linux-thread-db.c: use bool where possible in thread_db code

I happened to be looking at this code and noticed we could replace ints
by bools at a few places.

gdb/ChangeLog:

* linux-thread-db.c (try_thread_db_load_1): Change return type
to bool.
(try_thread_db_load): Likewise.
(try_thread_db_load_from_pdir_1): Likewise.
(try_thread_db_load_from_pdir): Likewise.
(try_thread_db_load_from_sdir): Likewise.
(try_thread_db_load_from_dir): Likewise.
(thread_db_load_search): Likewise.
(has_libpthread): Likewise.
(thread_db_load): Likewise.
gdb/ChangeLog
gdb/linux-thread-db.c
This page took 0.031358 seconds and 4 git commands to generate.