]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Eliminate block_iter_name_*
authorPedro Alves <palves@redhat.com>
Thu, 20 Jul 2017 17:04:46 +0000 (18:04 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 20 Jul 2017 17:04:46 +0000 (18:04 +0100)
commit42edd901a220d9d963d2121d7014b81d43c1ac66
treea82da7afe0d71a60890287dfe5d1200b94b488b3
parentcf3252992378872212eeaaca090fe3b1491bcd3f
Eliminate block_iter_name_*

This patch gets rid of block_iter_name_* as being unnecessary.  It's
the same as calling block_iter_match_*, and passing strcmp_iw as
comparison routine.

(A later patch will get rid of those new explicit strcmp_iw calls.)

gdb/ChangeLog:
2017-07-20  Pedro Alves  <palves@redhat.com>

* block.c (block_iter_name_step, block_iter_name_first)
(block_iter_name_next): Delete.
(block_lookup_symbol_primary): Adjust to use
dict_iter_match_first/dict_iter_match_next.
* block.h (block_iter_name_first, block_iter_name_next): Delete
declarations.
(ALL_BLOCK_SYMBOLS_WITH_NAME): Adjust to use
dict_iter_match_first/dict_iter_match_next.
gdb/ChangeLog
gdb/block.c
gdb/block.h
gdb/dictionary.c
gdb/dictionary.h