diff options
author | Jim Blandy <jimb@codesourcery.com> | 2007-12-13 02:00:09 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2007-12-13 02:00:09 +0000 |
commit | dfdfb3ca984ae5d2775c942705e79794d0c82d8c (patch) | |
tree | ac3f2f115c58045b99e538a6e8f55337572c1d8d /gdb/inf-child.c | |
parent | ee951a0b342279bd1b7b328ba25a1a112b92edd8 (diff) | |
download | gdb-dfdfb3ca984ae5d2775c942705e79794d0c82d8c.zip gdb-dfdfb3ca984ae5d2775c942705e79794d0c82d8c.tar.gz gdb-dfdfb3ca984ae5d2775c942705e79794d0c82d8c.tar.bz2 |
Remove unused support for target-based exception catching.
* target.h (struct target_ops): Delete
to_enable_exception_callback and to_get_current_exception_event
members.
(target_enable_exception_callback)
(target_get_current_exception_event): Delete macros.
* target.c (update_current_target): Remove code to inherit and
default those members.
(debug_to_enable_exception_callback)
(debug_to_get_current_exception_event): Delete functions.
(setup_target_debug): Don't install those methods.
* inf-child.c (inf_child_enable_exception_callback)
(inf_child_get_current_exception_event): Delete dummy functions.
(inf_child_target): Don't install them in the target vector.
* breakpoint.h (enum bptype): Delete bp_catch_catch,
bp_catch_throw.
* breakpoint.c (cover_target_enable_exception_callback)
(ep_is_exception_catchpoint, create_exception_catchpoint): Delete
functions.
(insert_bp_location, update_breakpoints_after_exec)
(remove_breakpoint, ep_is_catchpoint, print_it_typical)
(bpstat_stop_status, bpstat_what)
(bpstat_get_triggered_catchpoints, print_one_breakpoint_location)
(user_settable_breakpoint, allocate_bp_location)
(disable_watchpoints_before_interactive_call_start)
(enable_watchpoints_after_interactive_call_stop, mention)
(delete_breakpoint, breakpoint_re_set_one, disable_command)
(enable_command): Remove exception catchpoint cases.
(catch_exception_command_1): Don't try target-based exception
handling.
* stack.c (catch_info): Call print_frame_label_vars
unconditionally.
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r-- | gdb/inf-child.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c index da613d0..e3d0b68 100644 --- a/gdb/inf-child.c +++ b/gdb/inf-child.c @@ -157,19 +157,6 @@ inf_child_can_run (void) return 1; } -static struct symtab_and_line * -inf_child_enable_exception_callback (enum exception_event_kind kind, - int enable) -{ - return (struct symtab_and_line *) NULL; -} - -static struct exception_event_record * -inf_child_get_current_exception_event (void) -{ - return (struct exception_event_record *) NULL; -} - static char * inf_child_pid_to_exec_file (int pid) { @@ -210,8 +197,6 @@ inf_child_target (void) t->to_reported_exec_events_per_exec_call = inf_child_reported_exec_events_per_exec_call; t->to_can_run = inf_child_can_run; - t->to_enable_exception_callback = inf_child_enable_exception_callback; - t->to_get_current_exception_event = inf_child_get_current_exception_event; t->to_pid_to_exec_file = inf_child_pid_to_exec_file; t->to_stratum = process_stratum; t->to_has_all_memory = 1; |