gdb: extension languages finish_initialization to initialize
Now that both Python and Guile are fully initialized from their respective finish_initialization methods, the "finish" in the method name doesn't really make sense; initialization starts _and_ finishes with that method. As such, this commit renames finish_initialization to just initialize. There should be no user visible changes after this commit. gdb/ChangeLog: * extension-priv.h (struct extension_language_ops): Rename 'finish_initialization' to 'initialize'. * extension.c (finish_ext_lang_initialization): Renamed to... (ext_lang_initialization): ...this, update comment, and updated the calls to reflect the change in struct extension_language_ops. * extension.h (finish_ext_lang_initialization): Renamed to... (ext_lang_initialization): ...this. * guile/guile.c (gdbscm_finish_initialization): Renamed to... (gdbscm_initialize): ...this, update comment at definition. (guile_extension_ops): Update. * main.c (captured_main_1): Update call to finish_ext_lang_initialization. * python/python.c (gdbpy_finish_initialization): Rename to... (gdbpy_initialize): ...this, update comment at definition, and update call to do_finish_initialization. (python_extension_ops): Update. (do_finish_initialization): Rename to... (do_initialize): ...this, and update comment.
This commit is contained in:
parent
1178f01adf
commit
041ca48e97
7 changed files with 50 additions and 33 deletions
|
@ -1053,8 +1053,8 @@ captured_main_1 (struct captured_main_args *context)
|
|||
execute_cmdargs (&cmdarg_vec, CMDARG_EARLYINIT_FILE,
|
||||
CMDARG_EARLYINIT_COMMAND, &ret);
|
||||
|
||||
/* Finish initializing the extension languges. */
|
||||
finish_ext_lang_initialization ();
|
||||
/* Initialize the extension languages. */
|
||||
ext_lang_initialization ();
|
||||
|
||||
/* Recheck if we're starting up quietly after processing the startup
|
||||
scripts and commands. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue