aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-events.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-08-16 16:09:07 +0000
committerKeith Seitz <keiths@redhat.com>2002-08-16 16:09:07 +0000
commit63d022e0ce7e1c7734aabff5b1e865cc8e1edf9e (patch)
treef656db9a556999372dd9e49668ded5caf9a92075 /gdb/gdb-events.c
parent6e31adb3f7c1c5db158558c23e13d11091046d43 (diff)
downloadgdb-63d022e0ce7e1c7734aabff5b1e865cc8e1edf9e.zip
gdb-63d022e0ce7e1c7734aabff5b1e865cc8e1edf9e.tar.gz
gdb-63d022e0ce7e1c7734aabff5b1e865cc8e1edf9e.tar.bz2
* gdb-events.sh (clear_gdb_event_hooks): New function.
* gdb-events.c: Regenerate. * gdb-events.h: Regenerate.
Diffstat (limited to 'gdb/gdb-events.c')
-rw-r--r--gdb/gdb-events.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c
index ada30a3..0912e65 100644
--- a/gdb/gdb-events.c
+++ b/gdb/gdb-events.c
@@ -134,6 +134,14 @@ set_gdb_event_hooks (struct gdb_events *vector)
}
#endif
+#if WITH_GDB_EVENTS
+void
+clear_gdb_event_hooks (void)
+{
+ set_gdb_event_hooks (&null_event_hooks);
+}
+#endif
+
enum gdb_event
{
breakpoint_create,