diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-29 00:38:23 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-29 11:51:11 -0600 |
commit | bcb430e4cd5bcd913813236536031f1fc7f72aee (patch) | |
tree | 4b2546872474cb0ff401043bdfe261d2492cf5cd /gdb/progspace.h | |
parent | 894882e344735ace5231f179484086f7697d27cc (diff) | |
download | gdb-bcb430e4cd5bcd913813236536031f1fc7f72aee.zip gdb-bcb430e4cd5bcd913813236536031f1fc7f72aee.tar.gz gdb-bcb430e4cd5bcd913813236536031f1fc7f72aee.tar.bz2 |
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.
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index 456911b..c2cc87d 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -36,9 +36,6 @@ struct address_space; struct program_space_data; struct address_space_data; -typedef struct so_list *so_list_ptr; -DEF_VEC_P (so_list_ptr); - /* A program space represents a symbolic view of an address space. Roughly speaking, it holds all the data associated with a non-running-yet program (main executable, main symbols), and when @@ -207,7 +204,7 @@ struct program_space /* When an solib is added, it is also added to this vector. This is so we can properly report solib changes to the user. */ - VEC (so_list_ptr) *added_solibs = NULL; + std::vector<struct so_list *> added_solibs; /* When an solib is removed, its name is added to this vector. This is so we can properly report solib changes to the user. */ |