From a149683b0c277279d892c9617233643188a34251 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 12 Apr 2016 16:49:31 +0100 Subject: Eliminate clear_quit_flag Nothing calls this anymore. gdb/ChangeLog: 2016-04-12 Pedro Alves * defs.h (clear_quit_flag): Remove declaration. * extension-priv.h (struct extension_language_ops) : Remove field and update comments. * extension.c (clear_quit_flag): Delete. * guile/guile.c (guile_extension_ops): Adjust. * python/python.c (python_extension_ops): Adjust. (gdbpy_clear_quit_flag): Delete. --- gdb/extension.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'gdb/extension.c') diff --git a/gdb/extension.c b/gdb/extension.c index c00db47..17268d6 100644 --- a/gdb/extension.c +++ b/gdb/extension.c @@ -794,25 +794,6 @@ restore_active_ext_lang (struct active_ext_lang_state *previous) xfree (previous); } -/* Clear the quit flag. - The flag is cleared in all extension languages, - not just the currently active one. */ - -void -clear_quit_flag (void) -{ - int i; - const struct extension_language_defn *extlang; - - ALL_ENABLED_EXTENSION_LANGUAGES (i, extlang) - { - if (extlang->ops->clear_quit_flag != NULL) - extlang->ops->clear_quit_flag (extlang); - } - - quit_flag = 0; -} - /* Set the quit flag. This only sets the flag in the currently active extension language. If the currently active extension language does not have cooperative -- cgit v1.1