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:
parent
894882e344
commit
bcb430e4cd
5 changed files with 18 additions and 23 deletions
|
@ -862,7 +862,7 @@ update_solib_list (int from_tty)
|
|||
{
|
||||
|
||||
i->pspace = current_program_space;
|
||||
VEC_safe_push (so_list_ptr, current_program_space->added_solibs, i);
|
||||
current_program_space->added_solibs.push_back (i);
|
||||
|
||||
TRY
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue