Change selttest.c to use use std::vector
authorTom Tromey <tom@tromey.com>
Fri, 23 Sep 2016 03:32:03 +0000 (21:32 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 13 Oct 2016 01:43:16 +0000 (19:43 -0600)
commit816d7b53047bca81c226990bc9248d59d80d4b8b
tree6ce4862146d591338a8f9c33375bff4c9bc0b24c
parentbfd282882d534cd4f48e2fc29d4ce0923c52352b
Change selttest.c to use use std::vector

This patch changes selftest.c to use std::vector rather than VEC.
I think this is a small net plus.

2016-10-12  Tom Tromey  <tom@tromey.com>

* selftest.c: Include <vector>, not "vec.h".
(self_test_function_ptr): Remove.
(tests): Now a std::vector.
(register_self_test, run_self_tests): Update.
gdb/ChangeLog
gdb/selftest.c