dwarf2read: Use bool for dwarf2_section_info fields
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 21 Jun 2019 18:10:13 +0000 (14:10 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 21 Jun 2019 18:10:13 +0000 (14:10 -0400)
commitdc4ccb6f7f07e41616fd42625226229f0795d198
treea0a16a40a6a61cc73a98b1af7d66b32e5fb7a23b
parentb13a7d03c29e28bc0b38ce166ad1907403709d36
dwarf2read: Use bool for dwarf2_section_info fields

Use bool instead of char where applicable in dwarf2_section_info.

No functional changes intended.

gdb/ChangeLog:

* dwarf2read.h (struct dwarf2_section_info) <readin,
is_virtual>: Change type to bool.
* dwarf2read.c (dwarf2_read_section, create_dwp_v2_section): Use
true instead of 1.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/dwarf2read.h