diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-08-28 11:10:51 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2025-08-29 16:12:08 -0400 |
commit | 02ecff0c714254cd5a67b55a6d11d62cfd904dbc (patch) | |
tree | a1eda11fbeb58adc3ae4349f28816e563ce10707 /gdb/features | |
parent | 1e10e9ea96a4141080a7cd7322babe6bcd7c42ba (diff) | |
download | binutils-02ecff0c714254cd5a67b55a6d11d62cfd904dbc.zip binutils-02ecff0c714254cd5a67b55a6d11d62cfd904dbc.tar.gz binutils-02ecff0c714254cd5a67b55a6d11d62cfd904dbc.tar.bz2 |
gdb/objfiles: use filtered_iterator as objfile::section_iterator
objfile::section_iterator looks like a good candidate to be implemented
with filtered_iterator. Following the enhancements to filtered_iterator
in the previous patch, it's pretty straighforward.
I removed the non-const version of objfile::sections, because it didn't
seem useful to have the two methods returning the exact same type and
value. Having just the const version achieves the same thing.
Change-Id: I2f29c2fb3f95605cb816cc1ff8935c10e0496052
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/features')
0 files changed, 0 insertions, 0 deletions