diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-11-16 18:01:46 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-11-16 18:01:46 +0000 |
commit | 533be4dd3799c3bcb2babd4a53cb944bb80b2077 (patch) | |
tree | 2ac78f6ae54be8fc1359985458055a1b3dc161c7 /gdb/breakpoint.h | |
parent | 9b91d2fc9386ce28ad2925ff4d5dca1a09d09ea2 (diff) | |
download | gdb-533be4dd3799c3bcb2babd4a53cb944bb80b2077.zip gdb-533be4dd3799c3bcb2babd4a53cb944bb80b2077.tar.gz gdb-533be4dd3799c3bcb2babd4a53cb944bb80b2077.tar.bz2 |
Remove support for catch load and catch unload commands.
* breakpoint.h (enum bptype): Remove bp_catch_load and bp_catch_unload.
(struct breakpoint): Remove fields dll_pathname and
triggered_dll_pathname.
(bpstat_get_triggered_catchpoints, ep_is_shlib_catchpoint): Delete.
* breakpoint.c (ep_is_catchpoint): Remove handling of
bp_catch_load and bp_catch_unload.
(print_it_typical, bpstat_check_location, bpstat_what)
(print_one_breakpoint_location, print_one_breakpoint_location)
(user_settable_breakpoint, allocate_bp_location)
(set_raw_breakpoint_without_location, mention, delete_breakpoint,
(breakpoint_re_set_one, disable_command, enable_command): Likewise.
(ep_is_shlib_catchpoint, bpstat_get_triggered_catchpoints)
(catch_load_command_1, catch_unload_command_1): Delete.
(_initialize_breakpoint): Remove the "catch load" and "catch unload"
command creation.
* infrun.c (handle_inferior_event): Remove the handling of
load/unload catchpoint events.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index a77b1b4..cff6c3f 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -111,14 +111,6 @@ enum bptype bp_overlay_event, bp_catchpoint, - - /* These breakpoints are used to implement the "catch load" command - on platforms whose dynamic linkers support such functionality. */ - bp_catch_load, - - /* These breakpoints are used to implement the "catch unload" command - on platforms whose dynamic linkers support such functionality. */ - bp_catch_unload, }; /* States of enablement of breakpoint. */ @@ -440,16 +432,6 @@ struct breakpoint aborting, so you can back up to just before the abort. */ int hit_count; - /* Filename of a dynamically-linked library (dll), used for - bp_catch_load and bp_catch_unload (malloc'd), or NULL if any - library is significant. */ - char *dll_pathname; - - /* Filename of a dll whose state change (e.g., load or unload) - triggered this catchpoint. This field is only valid immediately - after this catchpoint has triggered. */ - char *triggered_dll_pathname; - /* Process id of a child process whose forking triggered this catchpoint. This field is only valid immediately after this catchpoint has triggered. */ @@ -618,12 +600,6 @@ extern void bpstat_do_actions (void); /* Modify BS so that the actions will not be performed. */ extern void bpstat_clear_actions (bpstat); -/* Given a bpstat that records zero or more triggered eventpoints, this - function returns another bpstat which contains only the catchpoints - on that first list, if any. - */ -extern void bpstat_get_triggered_catchpoints (bpstat, bpstat *); - /* Implementation: */ /* Values used to tell the printing routine how to behave for this bpstat. */ @@ -849,11 +825,6 @@ extern void disable_breakpoints_in_shlibs (void); /* This function returns TRUE if ep is a catchpoint. */ extern int ep_is_catchpoint (struct breakpoint *); -/* This function returns TRUE if ep is a catchpoint of a - shared library (aka dynamically-linked library) event, - such as a library load or unload. */ -extern int ep_is_shlib_catchpoint (struct breakpoint *); - /* Enable breakpoints and delete when hit. Called with ARG == NULL deletes all breakpoints. */ extern void delete_command (char *arg, int from_tty); |