diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-12-22 21:45:38 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-12-22 21:45:38 +0000 |
commit | a89794ecfa23772332aa3af0bd4c805636314f60 (patch) | |
tree | fb36064dbed25c94690f1a090448050d7de31754 /gdb/gdb-events.c | |
parent | 581a81d2bed63e5910a0715d6bf685cfc4746bc6 (diff) | |
download | gdb-a89794ecfa23772332aa3af0bd4c805636314f60.tar.gz |
import gdb-1999-12-21 snapshot
Diffstat (limited to 'gdb/gdb-events.c')
-rw-r--r-- | gdb/gdb-events.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c index a8c41925de7..3a4f497d128 100644 --- a/gdb/gdb-events.c +++ b/gdb/gdb-events.c @@ -84,13 +84,15 @@ breakpoint_modify_event (int b) #endif #if WITH_GDB_EVENTS -void +struct gdb_events * set_gdb_event_hooks (struct gdb_events *vector) { + struct gdb_events *old_events = current_event_hooks; if (vector == NULL) current_event_hooks = &queue_event_hooks; else current_event_hooks = vector; + return old_events; } #endif |