diff options
author | Tom Tromey <tom@tromey.com> | 2016-05-26 10:22:03 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-06-23 21:11:46 -0600 |
commit | 3fcf0b0d5a8cf04da4b4210121e7276ca1f20101 (patch) | |
tree | a58d9bd6b43a767e9542a7eeaf430fc919283893 /gdb/symtab.c | |
parent | 0c72ed4ca21e7a9f78f19179584f3886bf463689 (diff) | |
download | gdb-3fcf0b0d5a8cf04da4b4210121e7276ca1f20101.zip gdb-3fcf0b0d5a8cf04da4b4210121e7276ca1f20101.tar.gz gdb-3fcf0b0d5a8cf04da4b4210121e7276ca1f20101.tar.bz2 |
Use VEC for filename_language_table
This patch changes filename_language_table to be a VEC. This seemed
like a reasonable cleanup over the old code.
2016-06-23 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.
Diffstat (limited to 'gdb/symtab.c')
0 files changed, 0 insertions, 0 deletions