From f218b647aa21168473b973e3459258ba21ba8fbc Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 6 May 2015 10:40:52 -0700 Subject: 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. --- gdb/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/main.c') diff --git a/gdb/main.c b/gdb/main.c index 477fd68..aecd60a 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 -- cgit v1.1