diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2019-05-15 11:20:16 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-05-15 11:20:52 -0400 |
commit | 9ddc1af18c31e775ae7b107779addfcde92c723f (patch) | |
tree | d50a5e06d7993220d6ce5b5d83b985d482295407 /gdb/testsuite/gdb.fortran | |
parent | 95008a882803920a0faf672dd4a54edcc6ab66a7 (diff) | |
download | gdb-9ddc1af18c31e775ae7b107779addfcde92c723f.zip gdb-9ddc1af18c31e775ae7b107779addfcde92c723f.tar.gz gdb-9ddc1af18c31e775ae7b107779addfcde92c723f.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.fortran')
0 files changed, 0 insertions, 0 deletions