diff options
author | Pedro Alves <palves@redhat.com> | 2017-11-21 00:02:46 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-11-21 00:03:27 +0000 |
commit | e6b2f5efa97c7f3de8a3947c6782c40ec6172686 (patch) | |
tree | ae8adf5d462103024b3cdffa5fe180a507d219fd /bfd/mach-o.c | |
parent | 5c58de74c9acb346513c974fcdede270be2a77c3 (diff) | |
download | gdb-e6b2f5efa97c7f3de8a3947c6782c40ec6172686.zip gdb-e6b2f5efa97c7f3de8a3947c6782c40ec6172686.tar.gz gdb-e6b2f5efa97c7f3de8a3947c6782c40ec6172686.tar.bz2 |
Fix mapped_index::find_name_components_bounds upper bound computation
Here we want to find where we'd insert "after", so we want
std::lower_bound, not std::upper_bound.
gdb/ChangeLog:
2017-11-21 Pedro Alves <palves@redhat.com>
* dwarf2read.c (mapped_index::find_name_components_bounds)
<completion mode, upper bound>: Use std::lower_bound instead of
std::upper_bound.
(test_mapped_index_find_name_component_bounds): Remove incorrect
"t1_fund" from expected symbols.
Diffstat (limited to 'bfd/mach-o.c')
0 files changed, 0 insertions, 0 deletions