aboutsummaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2013-09-05 16:46:56 +0000
committerAndrew Burgess <aburgess@broadcom.com>2013-09-05 16:46:56 +0000
commit257e6d53e260db58681013eb25ea17ee061ba052 (patch)
treeb78680ba4d9222499e8e16bd0a930130b2ae6fdf /gdb/interps.c
parent7c33b57c1551d8a15edbad6e5da5aab1b05e6ab0 (diff)
downloadfsf-binutils-gdb-257e6d53e260db58681013eb25ea17ee061ba052.zip
fsf-binutils-gdb-257e6d53e260db58681013eb25ea17ee061ba052.tar.gz
fsf-binutils-gdb-257e6d53e260db58681013eb25ea17ee061ba052.tar.bz2
Remove deprecated_command_loop_hook.
https://sourceware.org/ml/gdb-patches/2013-09/msg00174.html gdb/ChangeLog * gdb/defs.h (deprecated_command_loop_hook): Remove, including references in comments. * gdb/interps.c (current_interp_command_loop): No longer use deprecated_command_loop_hook. (clear_interpreter_hooks): Remove deprecated_command_loop_hook setup. * gdb/top.c (deprecated_command_loop_hook): Remove.
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index 25500d6..33e0f72 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -320,12 +320,9 @@ void
current_interp_command_loop (void)
{
/* Somewhat messy. For the moment prop up all the old ways of
- selecting the command loop. `deprecated_command_loop_hook'
- should be deprecated. */
- if (deprecated_command_loop_hook != NULL)
- deprecated_command_loop_hook ();
- else if (current_interpreter != NULL
- && current_interpreter->procs->command_loop_proc != NULL)
+ selecting the command loop. */
+ if (current_interpreter != NULL
+ && current_interpreter->procs->command_loop_proc != NULL)
current_interpreter->procs->command_loop_proc (current_interpreter->data);
else
cli_command_loop ();
@@ -386,7 +383,6 @@ clear_interpreter_hooks (void)
deprecated_target_wait_hook = 0;
deprecated_call_command_hook = 0;
deprecated_error_begin_hook = 0;
- deprecated_command_loop_hook = 0;
}
/* This is a lazy init routine, called the first time the interpreter