This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patch] Code cleanup: Remove search_len parameter
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 16 Dec 2012 19:57:31 +0100
- Subject: [commit] [patch] Code cleanup: Remove search_len parameter
- References: <20121210175101.GA27639@host2.jankratochvil.net>
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