summaryrefslogtreecommitdiff
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
commit9f1e60251c098973ac99424f30f733d7c4d624cd (patch)
tree5a229a710fd4ad27dd479b36a69f0f8bae14bb0a /gdb/gdb-events.c
parenta4be72752981b641a47576fb8cdb01678d2ee2d4 (diff)
downloadgdb-9f1e60251c098973ac99424f30f733d7c4d624cd.tar.gz
* 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 ada30a3ef5a..0912e651190 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,