diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-26 20:37:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-26 20:37:13 +0000 |
commit | 141f9f92adb9d60806d185892c3c69bbc3cea3db (patch) | |
tree | 7395cdedb58de39e8b1d069a7128c954a1687120 /gdb/mi | |
parent | 6d57154b8006991be71c8e838bf6d5210d8aa9d2 (diff) | |
download | gdb-141f9f92adb9d60806d185892c3c69bbc3cea3db.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c index 5d15aa98b8a..528cd3c9d3e 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; |