Get rid of VEC(interp_factory_p)
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 20 Oct 2017 02:07:15 +0000 (22:07 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 20 Oct 2017 02:07:15 +0000 (22:07 -0400)
commit4c2287b0bdfbed95d37d09222fc253f4c5086ada
tree76d43e9c56c74a6faa6b6eeda74396bcb2497751
parentb5f6e7409243ca9b016753966a6404cdcfd41d95
Get rid of VEC(interp_factory_p)

Replace it with an std::vector.

gdb/ChangeLog:

* interps.c (struct interp_factory): Add constructor.
(interp_factory_p): Remove typedef.
(DEF_VEC_P(interp_factory_p)): Remove.
(interpreter_factories): Change type to std::vector.
(interp_factory_register): Adjust.
(interp_lookup): Adjust.
(interpreter_completer): Adjust.
gdb/ChangeLog
gdb/interps.c