This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Eliminate block_iter_name_*
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 20 Jul 2017 14:19:59 -0400
- Subject: [binutils-gdb] Eliminate block_iter_name_*
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 42edd901a220d9d963d2121d7014b81d43c1ac66 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 42edd901a220d9d963d2121d7014b81d43c1ac66
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.