[PATCH] Replace int with enum block_enum where appropriate.

Tom Tromey tom@tromey.com
Tue Aug 6 13:50:00 GMT 2019


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

Christian> For better readability and type safety.
Christian> gdb/ChangeLog:

Christian> 2019-08-05  Christian Biesinger  <cbiesinger@google.com>

Christian> 	* symtab.c (symbol_cache_lookup): Change int to enum block_enum.
Christian> 	(error_in_psymtab_expansion): Likewise.
Christian> 	(lookup_symbol_via_quick_fns): Likewise.
Christian> 	(basic_lookup_transparent_type_quick): Likewise.
Christian> 	(basic_lookup_transparent_type_1): Likewise.

Thank you.  This is ok.

Tom



More information about the Gdb-patches mailing list