aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-29 00:38:23 -0600
committerTom Tromey <tom@tromey.com>2018-05-29 11:51:11 -0600
commitbcb430e4cd5bcd913813236536031f1fc7f72aee (patch)
tree4b2546872474cb0ff401043bdfe261d2492cf5cd /gdb/solib.c
parent894882e344735ace5231f179484086f7697d27cc (diff)
downloadgdb-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/solib.c')
-rw-r--r--gdb/solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index b28ebc6..8f3a12c 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -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
{