aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-10-27 22:05:42 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-10-27 22:12:01 -0400
commit45461e0dcaf4193b5b4478031f515ffb7911ad85 (patch)
tree204c89fd51a7bf85e51010fabbe9ea9ff92d4dc3 /gdb/ChangeLog
parent43dce4394513d15ba8122c3bf442ec1028d93feb (diff)
downloadgdb-45461e0dcaf4193b5b4478031f515ffb7911ad85.zip
gdb-45461e0dcaf4193b5b4478031f515ffb7911ad85.tar.gz
gdb-45461e0dcaf4193b5b4478031f515ffb7911ad85.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9b91214..9c4e409 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,21 @@
2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
+ * 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.
+
+2017-10-27 Simon Marchi <simon.marchi@ericsson.com>
+
* breakpoint.c (breakpoint_objfile_data): Initialize fields.
(get_breakpoint_objfile_data): Allocate breakpoint_objfile_data
with new.