[PATCH] Convert symtab.h function signatures to use bool instead of int

Tom Tromey tom@tromey.com
Thu Sep 26 16:21:00 GMT 2019


>>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:

Christian> gdb/ChangeLog:
Christian> 2019-09-24  Christian Biesinger  <cbiesinger@google.com>

Christian> 	* blockframe.c (find_pc_partial_function): Change return type to bool.
Christian> 	* elfread.c (elf_gnu_ifunc_resolve_name): Likewise.
Christian> 	* minsyms.c (in_gnu_ifunc_stub): Likewise.
Christian> 	(stub_gnu_ifunc_resolve_name): Likewise.
Christian> 	* symtab.c (compare_filenames_for_search): Likewise.
Christian> 	(compare_glob_filenames_for_search): Likewise.
Christian> 	(matching_obj_sections): Likewise.
Christian> 	(symbol_matches_domain): Likewise.
Christian> 	(find_line_symtab): Change out param EXACT_MATCH to bool *.
Christian> 	(find_line_pc): Change return type to bool.
Christian> 	(find_line_pc_range): Likewise.
Christian> 	(producer_is_realview): Likewise.
Christian> 	* symtab.h (symbol_matches_domain): Likewise.
Christian> 	(find_pc_partial_function): Likewise.
Christian> 	(find_pc_line_pc_range): Likewise.
Christian> 	(in_gnu_ifunc_stub): Likewise.
Christian> 	(struct gnu_ifunc_fns) <gnu_ifunc_resolve_name>: Likewise.
Christian> 	(find_line_pc): Likewise.
Christian> 	(find_line_pc_range): Likewise.
Christian> 	(matching_obj_sections): Likewise.
Christian> 	(find_line_symtab): Change out parameter to bool.
Christian> 	(producer_is_realview): Change return type to bool.
Christian> 	(compare_filenames_for_search): Likewise.
Christian> 	(compare_glob_filenames_for_search): Likewise.

Thank you for doing this.
This is ok.

Tom



More information about the Gdb-patches mailing list