This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Get rid of VEC(probe_p)
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 28 Oct 2017 01:13:32 -0400
- Subject: [binutils-gdb] Get rid of VEC(probe_p)
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 45461e0dcaf4193b5b4478031f515ffb7911ad85 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 45461e0dcaf4193b5b4478031f515ffb7911ad85
Get rid of VEC(probe_p)
Replace the remaining usages of VEC(probe_p) with std::vector.
Regtested on the buildbot.
gdb/ChangeLog:
* probe.h: Don't include gdb_vecs.h.
(DEF_VEC_P (probe_p)): Remove.
(find_probes_in_objfile): Return an std::vector.
* probe.c (find_probes_in_objfile): Likewise.
* breakpoint.c (breakpoint_objfile_data)
<longjmp_probes>: Change type to std::vector.
<exception_probes>: Likewise.
(free_breakpoint_probes): Don't manually free vectors.
(create_longjmp_master_breakpoint): Adjust.
(create_exception_master_breakpoint): Adjust.
* solib-svr4.c (svr4_create_probe_breakpoints): Change
parameter type, adjust.
(svr4_create_solib_event_breakpoints): Adjust.