diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-04-22 18:26:15 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-04-28 09:56:21 +0100 |
commit | 041ca48e976b9a2a39a9440f7fbc2dffc77ed7c1 (patch) | |
tree | c05d29cf7abac2446363998721455a22ade34ee2 /gdb/ChangeLog | |
parent | 1178f01adf9c3b3a5b0fa564aa4d570e26a26819 (diff) | |
download | gdb-041ca48e976b9a2a39a9440f7fbc2dffc77ed7c1.zip gdb-041ca48e976b9a2a39a9440f7fbc2dffc77ed7c1.tar.gz gdb-041ca48e976b9a2a39a9440f7fbc2dffc77ed7c1.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5cf8439..4a4fa63 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,26 @@ 2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com> + * 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. + +2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com> + * main.c (captured_main_1): Add a call to finish_ext_lang_initialization. * top.c (gdb_init): Remove call to finish_ext_lang_initialization. |