aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-events.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-26 20:37:13 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-26 20:37:13 +0000
commit2726dafcc925a92751344dca979339bf3f097330 (patch)
treea03dc739792094aeccc28610a8bce962541613f2 /gdb/gdb-events.c
parent599e0b9e0dab8c7bcfd02a5911d16b7bc4014521 (diff)
downloadgdb-2726dafcc925a92751344dca979339bf3f097330.zip
gdb-2726dafcc925a92751344dca979339bf3f097330.tar.gz
gdb-2726dafcc925a92751344dca979339bf3f097330.tar.bz2
2004-06-26 Andrew Cagney <cagney@gnu.org>
* gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated. * gdb-events.h, gdb-events.c: Re-generate. * tui/tui-hooks.c (tui_install_hooks): Update. (tui_remove_hooks): Update. * mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
Diffstat (limited to 'gdb/gdb-events.c')
-rw-r--r--gdb/gdb-events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb-events.c b/gdb/gdb-events.c
index d61409f..e0916d8 100644
--- a/gdb/gdb-events.c
+++ b/gdb/gdb-events.c
@@ -116,7 +116,7 @@ architecture_changed_event (void)
}
struct gdb_events *
-set_gdb_event_hooks (struct gdb_events *vector)
+deprecated_set_gdb_event_hooks (struct gdb_events *vector)
{
struct gdb_events *old_events = current_event_hooks;
if (vector == NULL)
@@ -129,7 +129,7 @@ set_gdb_event_hooks (struct gdb_events *vector)
void
clear_gdb_event_hooks (void)
{
- set_gdb_event_hooks (&null_event_hooks);
+ deprecated_set_gdb_event_hooks (&null_event_hooks);
}
enum gdb_event