Change program_space::added_solibs to a std::vector

This changes program_space::added_solibs to a std::vector, removing a
VEC.

Tested by the buildbot.

gdb/ChangeLog
2018-05-29  Tom Tromey  <tom@tromey.com>

	* progspace.h (so_list_ptr): Remove typedef.  Don't declare VEC.
	(struct program_space) <added_solibs>: Now a std::vector.
	* breakpoint.c (print_solib_event): Update.
	(check_status_catch_solib): Update.
	* progspace.c (clear_program_space_solib_cache): Update.
	* solib.c (update_solib_list): Update.
This commit is contained in:
Tom Tromey
2018-05-29 00:38:23 -06:00
parent 894882e344
commit bcb430e4cd
5 changed files with 18 additions and 23 deletions

View File

@ -400,8 +400,7 @@ update_address_spaces (void)
void
clear_program_space_solib_cache (struct program_space *pspace)
{
VEC_free (so_list_ptr, pspace->added_solibs);
pspace->added_solibs.clear ();
pspace->deleted_solibs.clear ();
}