Make program_space::deleted_solibs a vector of std::string
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 3 Mar 2018 04:22:08 +0000 (23:22 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 3 Mar 2018 04:22:09 +0000 (23:22 -0500)
commit6fb16ce6eaba92b86a22eac58eb0eb61b3fd8804
treed66be5c5246fd9b4407ba1deb0d885710df2ca8c
parent564b1e3f2906bbbf53d003d6fdbcfc83661385e2
Make program_space::deleted_solibs a vector of std::string

This allows removing a usage of free_char_ptr_vec.

gdb/ChangeLog:

* progspace.h (struct program_space) <deleted_solibs>: Change
type to std::vector<std::string>.
* progspace.c (clear_program_space_solib_cache): Adjust.
* breakpoint.c (print_solib_event): Adjust.
(check_status_catch_solib): Adjust.
* solib.c (update_solib_list): Adjust.
* ui-out.h (class ui_out) <field_string>: New overload.
* ui-out.c (ui_out::field_string): New overload.
gdb/ChangeLog
gdb/breakpoint.c
gdb/progspace.c
gdb/progspace.h
gdb/solib.c
gdb/ui-out.c
gdb/ui-out.h