[commit] [patch] Code cleanup: Remove search_len parameter
Jan Kratochvil
jan.kratochvil@redhat.com
Sun Dec 16 18:57:00 GMT 2012
On Mon, 10 Dec 2012 18:51:01 +0100, Jan Kratochvil wrote:
> gdb/
> 2012-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Code cleanup.
> * breakpoint.c (clear_command): Remove variable sal_name_len and its
> initialization, remove it from the compare_filenames_for_search call.
> * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
> name_len and its initialization, remove it from the
> compare_filenames_for_search calls.
> * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
> * symtab.c (compare_filenames_for_search): Remove the search_len
> parameter, update the function comment, new variable search_len
> initialized from SEARCH_NAME.
> (iterate_over_some_symtabs): Remove variable name_len and its
> initialization, remove it from the compare_filenames_for_search calls.
> * symtab.h (compare_filenames_for_search): Remove the search_len
> parameter,
Checked in:
http://sourceware.org/ml/gdb-cvs/2012-12/msg00116.html
Jan
More information about the Gdb-patches
mailing list