diff options
author | Tom Tromey <tom@tromey.com> | 2021-07-03 11:40:54 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-07-03 11:40:54 -0600 |
commit | 4fabc3a897d7a6bb9e9594735afa7bf918013bd6 (patch) | |
tree | 9935cf54bba6bffdf4454cad76f153ce705886cc /gdb/ChangeLog | |
parent | 4b51505e33441c6165e7789fa2b6d21930242927 (diff) | |
download | binutils-gdb-4fabc3a897d7a6bb9e9594735afa7bf918013bd6.tar.gz |
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 '=='.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6a5f8b569f8..6a538f9eb86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-07-03 Tom Tromey <tom@tromey.com> + + * dwarf2/read.c (lnp_state_machine::record_line): Use 'true'. + (dwarf_decode_lines): Remove '=='. + 2021-07-02 Tom Tromey <tromey@adacore.com> * ada-exp.y (chop_selector, chop_separator, write_selectors) |