aboutsummaryrefslogtreecommitdiff
path: root/gdb/extension.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/extension.c')
-rw-r--r--gdb/extension.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/extension.c b/gdb/extension.c
index 523079a..27dce9b 100644
--- a/gdb/extension.c
+++ b/gdb/extension.c
@@ -323,19 +323,19 @@ using scoped_default_sigint = scoped_default_signal<SIGINT>;
These only iterate over external extension languages, not including
GDB's own extension/scripting language, unless otherwise indicated. */
-/* Wrapper to call the extension_language_ops.finish_initialization "method"
- for each compiled-in extension language. */
+/* Wrapper to call the extension_language_ops.initialize "method" for each
+ compiled-in extension language. */
void
-finish_ext_lang_initialization (void)
+ext_lang_initialization (void)
{
for (const struct extension_language_defn *extlang : extension_languages)
{
if (extlang->ops != nullptr
- && extlang->ops->finish_initialization != NULL)
+ && extlang->ops->initialize != NULL)
{
scoped_default_sigint set_sigint_to_default_handler;
- extlang->ops->finish_initialization (extlang);
+ extlang->ops->initialize (extlang);
}
}
}