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-priv.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/extension-priv.h') diff --git a/gdb/extension-priv.h b/gdb/extension-priv.h index 5ccbc29..d7bc572 100644 --- a/gdb/extension-priv.h +++ b/gdb/extension-priv.h @@ -232,7 +232,7 @@ struct extension_language_ops enum ext_lang_bp_stop (*breakpoint_cond_says_stop) (const struct extension_language_defn *, struct breakpoint *); - /* The next three are used to connect GDB's SIGINT handling with the + /* The next two are used to connect GDB's SIGINT handling with the extension language's. Terminology: If an extension language can use GDB's SIGINT handling then @@ -242,9 +242,6 @@ struct extension_language_ops These need not be implemented, but if one of them is implemented then they all must be. */ - /* Clear the SIGINT indicator. */ - void (*clear_quit_flag) (const struct extension_language_defn *); - /* Set the SIGINT indicator. This is called by GDB's SIGINT handler and must be async-safe. */ void (*set_quit_flag) (const struct extension_language_defn *); -- cgit v1.1