aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-07-18 18:23:32 -0600
committerTom Tromey <tom@tromey.com>2017-07-22 16:10:42 -0600
commitb6f48cb022118f838357c07d32d122e9434c0209 (patch)
treedd6f0e588fe605f486653a708ff63442f4183c85 /gdb/ChangeLog
parente12c9b7a0cda47a87b8203ee9906fd12f68e3666 (diff)
downloadgdb-b6f48cb022118f838357c07d32d122e9434c0209.zip
gdb-b6f48cb022118f838357c07d32d122e9434c0209.tar.gz
gdb-b6f48cb022118f838357c07d32d122e9434c0209.tar.bz2
Use std::vector in struct catch_syscall_inferior_data
This changes struct catch_syscall_inferior_data to use a std::vector rather than a VEC. It also changes it to be allocated with new and destroyed with delete. ChangeLog 2017-07-22 Tom Tromey <tom@tromey.com> * break-catch-syscall.c (struct catch_syscall_inferior_data) <syscalls_counts>: Now a std::vector. (get_catch_syscall_inferior_data): Use "new". (catch_syscall_inferior_data_cleanup): Use "delete". (insert_catch_syscall, remove_catch_syscall) (clear_syscall_counts): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c41cfcf..8944833 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2017-07-22 Tom Tromey <tom@tromey.com>
+ * break-catch-syscall.c (struct catch_syscall_inferior_data)
+ <syscalls_counts>: Now a std::vector.
+ (get_catch_syscall_inferior_data): Use "new".
+ (catch_syscall_inferior_data_cleanup): Use "delete".
+ (insert_catch_syscall, remove_catch_syscall)
+ (clear_syscall_counts): Update.
+
+2017-07-22 Tom Tromey <tom@tromey.com>
+
* break-catch-syscall.c (syscall_catchpoint)
<syscalls_to_be_caught>: Now a std::vector<int>
(~syscall_catchpoint): Remove.