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]

Re: [RFA 1/3] Use VEC for filename_language_table


Tom Tromey <tom@tromey.com> writes:

> 2016-06-04  Tom Tromey  <tom@tromey.com>
>
> 	* symfile.c (filename_language_table): Now a VEC.
> 	(fl_table_size, fl_table_next): Remove.
> 	(add_filename_language): Use VEC_safe_push.
> 	(set_ext_lang_command, info_ext_lang_command)
> 	(deduce_language_from_filename): Use VEC_iterate.
> 	(init_filename_language_table): Use VEC_empty.

Looks good to me.

-- 
Yao (éå)


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