This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] Use block_enum instead of int for better typesafety
On Fri, Jul 19, 2019, 08:54 Tom Tromey <email@example.com> wrote:
> >>>>> "Christian" == Christian Biesinger via gdb-patches <
> firstname.lastname@example.org> writes:
> Christian> 2019-07-11 Christian Biesinger <email@example.com>
> Christian> * symtab.c (lookup_symbol_in_objfile_symtabs): Change int
> to block_enum.
> Christian> (lookup_symbol_in_objfile): Change int to block_enum and
> add a
> Christian> gdb_assert to make sure block_index is GLOBAL_BLOCK or
> Thanks, this is ok. Please check it in.
I don't have a committer account -- maybe I should take you up on the offer
last time and get one.