aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-hooks.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/tui/tui-hooks.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/tui/tui-hooks.c')
-rw-r--r--gdb/tui/tui-hooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c
index 6f880ab..64bcb99 100644
--- a/gdb/tui/tui-hooks.c
+++ b/gdb/tui/tui-hooks.c
@@ -290,7 +290,7 @@ tui_install_hooks (void)
deprecated_query_hook = tui_query_hook;
/* Install the event hooks. */
- tui_old_event_hooks = set_gdb_event_hooks (&tui_event_hooks);
+ tui_old_event_hooks = deprecated_set_gdb_event_hooks (&tui_event_hooks);
deprecated_registers_changed_hook = tui_registers_changed_hook;
deprecated_register_changed_hook = tui_register_changed_hook;
@@ -310,7 +310,7 @@ tui_remove_hooks (void)
deprecated_detach_hook = 0;
/* Restore the previous event hooks. */
- set_gdb_event_hooks (tui_old_event_hooks);
+ deprecated_set_gdb_event_hooks (tui_old_event_hooks);
}
void _initialize_tui_hooks (void);