gdb: change type of field_info::non_public_fields to bool
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 1 Sep 2020 01:06:06 +0000 (21:06 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 1 Sep 2020 01:06:20 +0000 (21:06 -0400)
commit264fc0e27bf1a7f469f73867cb8f10f33f34415e
tree9f01f97c9b8954306fb12246116b7a2a78c1468d
parent2de01bdb2e25b81e7d65139ac4b767d2ff5eb5c7
gdb: change type of field_info::non_public_fields to bool

gdb/ChangeLog:

* dwarf2/read.c (struct field_info) <non_public_fields>: Change
type to bool.
(dwarf2_add_field): Use true instead of 1.

Change-Id: I7e9c86429402c28d4f15861d17976b9c50049f94
gdb/ChangeLog
gdb/dwarf2/read.c