mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
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:
@ -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 ();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user