diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-03-02 23:22:08 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-03-02 23:22:09 -0500 |
commit | 6fb16ce6eaba92b86a22eac58eb0eb61b3fd8804 (patch) | |
tree | d66be5c5246fd9b4407ba1deb0d885710df2ca8c /gdb/progspace.h | |
parent | 564b1e3f2906bbbf53d003d6fdbcfc83661385e2 (diff) | |
download | gdb-6fb16ce6eaba92b86a22eac58eb0eb61b3fd8804.zip gdb-6fb16ce6eaba92b86a22eac58eb0eb61b3fd8804.tar.gz gdb-6fb16ce6eaba92b86a22eac58eb0eb61b3fd8804.tar.bz2 |
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.
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index c64209c..67c0a24 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -207,7 +207,7 @@ struct program_space /* When an solib is removed, its name is added to this vector. This is so we can properly report solib changes to the user. */ - VEC (char_ptr) *deleted_solibs = NULL; + std::vector<std::string> deleted_solibs; /* Per pspace data-pointers required by other GDB modules. */ REGISTRY_FIELDS {}; |