aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-10-16 16:25:04 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-10-16 16:25:04 +0000
commitce78b96d4f550fd3e28d31ffa74208f609bfa344 (patch)
tree1261772e8585d0b5d922b8c232fb9e27e51de1da /gdb/ChangeLog
parent176d289d29b7046c6967d08d2dd94e68e7be6c7f (diff)
downloadgdb-ce78b96d4f550fd3e28d31ffa74208f609bfa344.zip
gdb-ce78b96d4f550fd3e28d31ffa74208f609bfa344.tar.gz
gdb-ce78b96d4f550fd3e28d31ffa74208f609bfa344.tar.bz2
* breakpoint.h (enum bptype): New enum bp_catchpoint.
Delete bp_catch_fork and bp_catch_vfork. (struct breakpoint_ops): Add new methods "insert", "remove" and "breakpoint_hit". * breakpoint.c (create_fork_vfork_event_catchpoint) (create_fork_event_catchpoint, create_vfork_event_catchpoint): Remove. (insert_catchpoint): Remove handling of bp_catch_fork and bp_catch_vfork catchpoints, and handle them as bp_catchpoint catchpoints instead. (insert_bp_location, update_breakpoints_after_exec) (remove_breakpoint, bpstat_check_location, bpstat_what) (allocate_bp_location): Likewise. (print_it_typical, print_one_breakpoint_location, mention): Remove handling of bp_catch_fork and bp_catch_vfork breakpoints. (ep_is_catchpoint, user_settable_breakpoint) (breakpoint_address_is_meaningful, adjust_breakpoint_address) (breakpoint_re_set_one, disable_command, enable_command): Remove use of bp_catch_fork and bp_catch_vfork. Add handling of bp_catchpoint breakpoints. (insert_catch_fork, remove_catch_fork, breakpoint_hit_catch_fork) (print_it_catch_fork, print_one_catch_fork, print_mention_catch_fork): New functions. (catch_fork_breakpoint_ops): New static constant. (insert_catch_vfork, remove_catch_vfork, breakpoint_hit_catch_vfork) (print_it_catch_vfork, print_one_catch_vfork) (print_mention_catch_vfork): New functions. (catch_vfork_breakpoint_ops): New static constant. (create_catchpoint, create_fork_vfork_event_catchpoint): New functions. (catch_fork_command_1): Use create_fork_vfork_event_catchpoint to create the fork and vfork catchpoints. (gnu_v3_exception_catchpoint_ops): Set new breakpoint_ops fields. * ada-lang.c (catch_exception_breakpoint_ops): Set new breakpoint_ops fields. (catch_exception_unhandled_breakpoint_ops): Likewise. (catch_assert_breakpoint_ops): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog38
1 files changed, 38 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 025c4a3..9daf556 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,41 @@
+2008-10-16 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint.h (enum bptype): New enum bp_catchpoint.
+ Delete bp_catch_fork and bp_catch_vfork.
+ (struct breakpoint_ops): Add new methods "insert", "remove"
+ and "breakpoint_hit".
+ * breakpoint.c (create_fork_vfork_event_catchpoint)
+ (create_fork_event_catchpoint, create_vfork_event_catchpoint): Remove.
+ (insert_catchpoint): Remove handling of bp_catch_fork and
+ bp_catch_vfork catchpoints, and handle them as bp_catchpoint
+ catchpoints instead.
+ (insert_bp_location, update_breakpoints_after_exec)
+ (remove_breakpoint, bpstat_check_location, bpstat_what)
+ (allocate_bp_location): Likewise.
+ (print_it_typical, print_one_breakpoint_location, mention): Remove
+ handling of bp_catch_fork and bp_catch_vfork breakpoints.
+ (ep_is_catchpoint, user_settable_breakpoint)
+ (breakpoint_address_is_meaningful, adjust_breakpoint_address)
+ (breakpoint_re_set_one, disable_command, enable_command):
+ Remove use of bp_catch_fork and bp_catch_vfork. Add handling of
+ bp_catchpoint breakpoints.
+ (insert_catch_fork, remove_catch_fork, breakpoint_hit_catch_fork)
+ (print_it_catch_fork, print_one_catch_fork, print_mention_catch_fork):
+ New functions.
+ (catch_fork_breakpoint_ops): New static constant.
+ (insert_catch_vfork, remove_catch_vfork, breakpoint_hit_catch_vfork)
+ (print_it_catch_vfork, print_one_catch_vfork)
+ (print_mention_catch_vfork): New functions.
+ (catch_vfork_breakpoint_ops): New static constant.
+ (create_catchpoint, create_fork_vfork_event_catchpoint): New functions.
+ (catch_fork_command_1): Use create_fork_vfork_event_catchpoint
+ to create the fork and vfork catchpoints.
+ (gnu_v3_exception_catchpoint_ops): Set new breakpoint_ops fields.
+ * ada-lang.c (catch_exception_breakpoint_ops): Set new breakpoint_ops
+ fields.
+ (catch_exception_unhandled_breakpoint_ops): Likewise.
+ (catch_assert_breakpoint_ops): Likewise.
+
2008-10-16 Pedro Alves <pedro@codesourcery.com>
* remote.c (set_general_process): New.