]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use bool in decode_line_2_item
authorTom Tromey <tom@tromey.com>
Sat, 11 Jan 2025 18:35:15 +0000 (11:35 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 14 Jan 2025 22:40:58 +0000 (15:40 -0700)
commitfa4ea7a124194cacc74516d5b851f4eebbe7034d
treef21f65807cd0654708cdc074599d591f8e286708
parente39015fc5ee6492ed3e88cf81bf70b3ef3375230
Use bool in decode_line_2_item

This changes decode_line_2_item::selected to bool.  There was no
benefit to keeping this as a bitfield, so I removed that.  Note that
the constructor already uses bool here.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/linespec.c