Use std::vector for symtab_fns
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 11 Oct 2017 13:34:08 +0000 (09:34 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 11 Oct 2017 13:34:08 +0000 (09:34 -0400)
commit905014d7205d4f171c5cabf695fe1ec3da9b33d3
tree354b31d58b64b60cdfee181a8b6556892628103b
parent56d704daee44b036d1eff86123de6dec0c55f61b
Use std::vector for symtab_fns

Simple replacement of VEC with std::vector.

gdb/ChangeLog:

* symfile.c (registered_sym_fns): Make struct, not typedef.
(DEF_VEC_O (registered_sym_fns)): Remove.
(symtab_fns): Change type to std::vector.
(add_symtab_fns): Adjust.
(find_sym_fns): Adjust.
gdb/ChangeLog
gdb/symfile.c