summaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-05-06 10:40:52 -0700
committerJoel Brobecker <brobecker@adacore.com>2015-05-06 10:48:59 -0700
commitf218b647aa21168473b973e3459258ba21ba8fbc (patch)
tree7f7d73cf8a4bb549f8a813ea4ed83d8d546d135f /gdb/main.c
parentb30a0bc387d63a28362bb08c351da32b50228530 (diff)
Get rid of deprecated_init_ui_hook
This hook is no longer used, and can therefore be eliminated. gdb/ChangeLog: * defs.h (deprecated_init_ui_hook): Delete. Remove associated comment. * top.c (deprecated_init_ui_hook): Delete. (gdb_init): Remove handling of deprecated_init_ui_hook. * interps.c (clear_interpreter_hooks): Remove handling of deprecated_init_ui_hook. * main.c (captured_main): Update comment.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 477fd68c2e..aecd60afe6 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -859,8 +859,7 @@ captured_main (void *data)
/* Try to set up an alternate signal stack for SIGSEGV handlers. */
setup_alternate_signal_stack ();
- /* Initialize all files. Give the interpreter a chance to take
- control of the console via the deprecated_init_ui_hook (). */
+ /* Initialize all files. */
gdb_init (gdb_program_name);
/* Now that gdb_init has created the initial inferior, we're in