]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use 'bool' more idiomatically in dwarf_decode_lines
authorTom Tromey <tom@tromey.com>
Sat, 3 Jul 2021 17:40:54 +0000 (11:40 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 3 Jul 2021 17:40:54 +0000 (11:40 -0600)
commit4fabc3a897d7a6bb9e9594735afa7bf918013bd6
tree9935cf54bba6bffdf4454cad76f153ce705886cc
parent4b51505e33441c6165e7789fa2b6d21930242927
Use 'bool' more idiomatically in dwarf_decode_lines

I noticed a couple of spots related to dwarf_decode_lines where the
'include_p' field was not being used idiomatically -- it is of type
bool now, so treat it as such.

gdb/ChangeLog
2021-07-03  Tom Tromey  <tom@tromey.com>

* dwarf2/read.c (lnp_state_machine::record_line): Use 'true'.
(dwarf_decode_lines): Remove '=='.
gdb/ChangeLog
gdb/dwarf2/read.c