This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] [patch] Code cleanup: Remove search_len parameter


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]