aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
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/mi
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/mi')
-rw-r--r--gdb/mi/mi-cmd-break.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index 5d15aa9..528cd3c 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -134,7 +134,7 @@ mi_cmd_break_insert (char *command, char **argv, int argc)
address = argv[optind];
/* Now we have what we need, let's insert the breakpoint! */
- old_hooks = set_gdb_event_hooks (&breakpoint_hooks);
+ old_hooks = deprecated_set_gdb_event_hooks (&breakpoint_hooks);
switch (type)
{
case REG_BP:
@@ -160,7 +160,7 @@ mi_cmd_break_insert (char *command, char **argv, int argc)
internal_error (__FILE__, __LINE__,
"mi_cmd_break_insert: Bad switch.");
}
- set_gdb_event_hooks (old_hooks);
+ deprecated_set_gdb_event_hooks (old_hooks);
if (rc == GDB_RC_FAIL)
return MI_CMD_CAUGHT_ERROR;